Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / Mail / SmtpReplyReader.cs / 1 / 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
- Validator.cs
- UTF32Encoding.cs
- WebPartManager.cs
- XmlSerializationReader.cs
- PrincipalPermission.cs
- TextDocumentView.cs
- CapabilitiesAssignment.cs
- HostingEnvironmentWrapper.cs
- DecimalFormatter.cs
- HttpSessionStateWrapper.cs
- ObjectListDataBindEventArgs.cs
- DataGridTextBoxColumn.cs
- PropertyGeneratedEventArgs.cs
- ToolStripSystemRenderer.cs
- MemberProjectionIndex.cs
- SendMailErrorEventArgs.cs
- ContentDefinition.cs
- ListBase.cs
- PaperSource.cs
- ControlFilterExpression.cs
- Calendar.cs
- DataGridTable.cs
- Attributes.cs
- XamlTypeMapper.cs
- nulltextnavigator.cs
- XmlSchemaNotation.cs
- Interfaces.cs
- StringDictionary.cs
- ToolStripContentPanel.cs
- CompilerGeneratedAttribute.cs
- ProtocolElementCollection.cs
- CheckBoxRenderer.cs
- CommandConverter.cs
- OperandQuery.cs
- DataGridViewCellPaintingEventArgs.cs
- TranslateTransform.cs
- RawStylusInputCustomDataList.cs
- PeerContact.cs
- SHA384Managed.cs
- DbProviderFactoriesConfigurationHandler.cs
- HtmlElementCollection.cs
- HandlerBase.cs
- Separator.cs
- UpdateException.cs
- TextViewBase.cs
- PlatformCulture.cs
- HScrollBar.cs
- XmlSchemaParticle.cs
- XPathSingletonIterator.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- UIElementCollection.cs
- AbandonedMutexException.cs
- ToolStripDesignerUtils.cs
- PenContexts.cs
- HtmlTableCellCollection.cs
- Brush.cs
- Light.cs
- WebServiceErrorEvent.cs
- JsonDataContract.cs
- ImageButton.cs
- Matrix3D.cs
- IISUnsafeMethods.cs
- BooleanAnimationBase.cs
- CustomAttributeBuilder.cs
- ScriptServiceAttribute.cs
- WebCategoryAttribute.cs
- MachineSettingsSection.cs
- PseudoWebRequest.cs
- LocatorPart.cs
- SecUtil.cs
- EllipticalNodeOperations.cs
- httpserverutility.cs
- UrlMapping.cs
- UIElement3DAutomationPeer.cs
- Parser.cs
- MetadataArtifactLoaderComposite.cs
- X509AsymmetricSecurityKey.cs
- AuditLogLocation.cs
- RunClient.cs
- DetailsViewInsertedEventArgs.cs
- BaseResourcesBuildProvider.cs
- InputScope.cs
- StorageAssociationSetMapping.cs
- DataGridViewMethods.cs
- DesignerObjectListAdapter.cs
- FrameDimension.cs
- RIPEMD160Managed.cs
- QueryCacheManager.cs
- HtmlEmptyTagControlBuilder.cs
- StringAnimationUsingKeyFrames.cs
- SiteMapNode.cs
- LayoutInformation.cs
- TextServicesContext.cs
- PackageDigitalSignatureManager.cs
- AsyncResult.cs
- DeploymentExceptionMapper.cs
- CertificateElement.cs
- QueryContinueDragEventArgs.cs
- AttachInfo.cs