Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Mail / SmtpReplyReader.cs / 1305376 / SmtpReplyReader.cs
namespace System.Net.Mail { using System; using System.IO; //streams are read only; return of 0 means end of server's reply class SmtpReplyReader { SmtpReplyReaderFactory reader; internal SmtpReplyReader(SmtpReplyReaderFactory reader) { this.reader = reader; } internal IAsyncResult BeginReadLines(AsyncCallback callback, object state) { return reader.BeginReadLines(this, callback, state); } internal IAsyncResult BeginReadLine(AsyncCallback callback, object state) { return reader.BeginReadLine(this, callback, state); } public void Close() { reader.Close(this); } internal LineInfo[] EndReadLines(IAsyncResult result) { return reader.EndReadLines(result); } internal LineInfo EndReadLine(IAsyncResult result) { return reader.EndReadLine(result); } internal LineInfo[] ReadLines() { return reader.ReadLines(this); } internal LineInfo ReadLine() { return reader.ReadLine(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Net.Mail { using System; using System.IO; //streams are read only; return of 0 means end of server's reply class SmtpReplyReader { SmtpReplyReaderFactory reader; internal SmtpReplyReader(SmtpReplyReaderFactory reader) { this.reader = reader; } internal IAsyncResult BeginReadLines(AsyncCallback callback, object state) { return reader.BeginReadLines(this, callback, state); } internal IAsyncResult BeginReadLine(AsyncCallback callback, object state) { return reader.BeginReadLine(this, callback, state); } public void Close() { reader.Close(this); } internal LineInfo[] EndReadLines(IAsyncResult result) { return reader.EndReadLines(result); } internal LineInfo EndReadLine(IAsyncResult result) { return reader.EndReadLine(result); } internal LineInfo[] ReadLines() { return reader.ReadLines(this); } internal LineInfo ReadLine() { return reader.ReadLine(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataTableReader.cs
- ExpressionTextBoxAutomationPeer.cs
- SqlDependency.cs
- HMACSHA1.cs
- LabelLiteral.cs
- ProfilePropertySettingsCollection.cs
- ButtonColumn.cs
- Message.cs
- TransformGroup.cs
- LabelAutomationPeer.cs
- PingReply.cs
- OSFeature.cs
- PageHandlerFactory.cs
- ComplusEndpointConfigContainer.cs
- safex509handles.cs
- UniqueContractNameValidationBehavior.cs
- ResourceDisplayNameAttribute.cs
- ToolStripManager.cs
- InputProcessorProfilesLoader.cs
- AnnotationResourceChangedEventArgs.cs
- InProcStateClientManager.cs
- ObjectList.cs
- GridErrorDlg.cs
- DecimalStorage.cs
- ProcessModule.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebPartEventArgs.cs
- WebRequest.cs
- Item.cs
- SpanIndex.cs
- XmlIncludeAttribute.cs
- FormsIdentity.cs
- GridViewDeletedEventArgs.cs
- FactoryMaker.cs
- PropertyPathWorker.cs
- FilteredDataSetHelper.cs
- ConfigurationSectionGroup.cs
- CodeObject.cs
- XmlElementAttributes.cs
- PointKeyFrameCollection.cs
- XmlElementAttribute.cs
- Duration.cs
- BindMarkupExtensionSerializer.cs
- ContentPosition.cs
- PropertyCollection.cs
- loginstatus.cs
- DataGridLinkButton.cs
- DataServiceProcessingPipeline.cs
- EnumBuilder.cs
- RightsManagementProvider.cs
- ValidationErrorEventArgs.cs
- SqlDependency.cs
- EndPoint.cs
- typedescriptorpermissionattribute.cs
- ServiceManager.cs
- TableHeaderCell.cs
- XmlTextReaderImpl.cs
- SecurityKeyType.cs
- SplitterEvent.cs
- ACL.cs
- TagMapCollection.cs
- MissingMethodException.cs
- XmlUnspecifiedAttribute.cs
- CodeAssignStatement.cs
- XmlWrappingReader.cs
- TableLayoutPanel.cs
- XmlSchemaAnnotated.cs
- GeneralTransform.cs
- DefaultHttpHandler.cs
- UnsafeNativeMethods.cs
- AttributeProviderAttribute.cs
- OLEDB_Util.cs
- ImageMapEventArgs.cs
- TreeNodeStyleCollection.cs
- TaskFormBase.cs
- BaseTemplateParser.cs
- SchemaElementLookUpTable.cs
- FillErrorEventArgs.cs
- SineEase.cs
- AsymmetricSignatureFormatter.cs
- ButtonBaseAutomationPeer.cs
- GenerateTemporaryTargetAssembly.cs
- Schema.cs
- _ListenerAsyncResult.cs
- DetailsViewRowCollection.cs
- NativeRightsManagementAPIsStructures.cs
- InputMethod.cs
- EdmConstants.cs
- ApplicationServiceHelper.cs
- PropertyReference.cs
- InvalidOleVariantTypeException.cs
- HybridDictionary.cs
- ToolStripComboBox.cs
- WhileDesigner.cs
- ToolStripSeparator.cs
- ExcCanonicalXml.cs
- TextFormattingConverter.cs
- SiteMapNode.cs
- ValidationEventArgs.cs
- RichTextBox.cs