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
- BindingsCollection.cs
- _ShellExpression.cs
- WebPartMenu.cs
- XmlnsCache.cs
- FrameworkElementFactory.cs
- MutexSecurity.cs
- StylusButtonEventArgs.cs
- CharStorage.cs
- LeaseManager.cs
- LinqDataSourceContextData.cs
- OdbcDataReader.cs
- OleStrCAMarshaler.cs
- WebColorConverter.cs
- Intellisense.cs
- SourceItem.cs
- PageContentAsyncResult.cs
- CodeAttributeDeclarationCollection.cs
- DropDownList.cs
- Section.cs
- StylusPlugin.cs
- ExtensionQuery.cs
- ObjectDataSourceEventArgs.cs
- ToolboxItem.cs
- StatusBar.cs
- HostingPreferredMapPath.cs
- XmlConvert.cs
- MissingFieldException.cs
- ObjectPersistData.cs
- HtmlTableCell.cs
- WindowsGraphics2.cs
- AlternateView.cs
- WebServiceFault.cs
- PageContentAsyncResult.cs
- DocumentXmlWriter.cs
- RequestTimeoutManager.cs
- AlignmentYValidation.cs
- HttpSessionStateWrapper.cs
- ToolStripMenuItem.cs
- AutomationElementCollection.cs
- ITextView.cs
- FacetValues.cs
- DesignerExtenders.cs
- FilteredAttributeCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- StatusBarDrawItemEvent.cs
- WebPartEditorCancelVerb.cs
- XmlChildEnumerator.cs
- SqlFunctions.cs
- SqlBulkCopyColumnMappingCollection.cs
- ClientApiGenerator.cs
- ModelVisual3D.cs
- NTAccount.cs
- XamlTypeMapper.cs
- CapiSymmetricAlgorithm.cs
- WmlTextViewAdapter.cs
- FacetChecker.cs
- IssuedTokenServiceCredential.cs
- loginstatus.cs
- SatelliteContractVersionAttribute.cs
- RemotingAttributes.cs
- HtmlShimManager.cs
- RichTextBoxContextMenu.cs
- HyperLinkStyle.cs
- DBDataPermissionAttribute.cs
- ToolstripProfessionalRenderer.cs
- AttributeXamlType.cs
- ItemChangedEventArgs.cs
- WindowsStatusBar.cs
- KnownBoxes.cs
- BitmapEffectDrawing.cs
- ValidationErrorCollection.cs
- _LoggingObject.cs
- OperatingSystem.cs
- ServiceDescriptionSerializer.cs
- MediaSystem.cs
- InteropAutomationProvider.cs
- ProfileServiceManager.cs
- DefaultValueTypeConverter.cs
- FixedNode.cs
- _CommandStream.cs
- SessionPageStateSection.cs
- SingleAnimationUsingKeyFrames.cs
- DateTimeUtil.cs
- DependencyObjectCodeDomSerializer.cs
- ReadWriteSpinLock.cs
- ToolboxItemFilterAttribute.cs
- NameScope.cs
- Walker.cs
- SourceLocation.cs
- CompressionTransform.cs
- DoubleAnimationUsingKeyFrames.cs
- ClientCultureInfo.cs
- DataSourceSerializationException.cs
- ExternalFile.cs
- AddInDeploymentState.cs
- MarshalByRefObject.cs
- DataGridViewAccessibleObject.cs
- JoinTreeSlot.cs
- FixUp.cs
- PointCollection.cs