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
- SelfSignedCertificate.cs
- RoleBoolean.cs
- InvalidProgramException.cs
- KeyEvent.cs
- Viewport2DVisual3D.cs
- OracleConnectionStringBuilder.cs
- COM2FontConverter.cs
- MetaModel.cs
- SupportingTokenChannel.cs
- DebuggerAttributes.cs
- IndentedWriter.cs
- OdbcConnectionFactory.cs
- BinaryMessageEncodingElement.cs
- WebScriptClientGenerator.cs
- BaseHashHelper.cs
- SyntaxCheck.cs
- DataSourceExpressionCollection.cs
- SqlComparer.cs
- SafeLibraryHandle.cs
- PageAdapter.cs
- SpecularMaterial.cs
- HttpDictionary.cs
- DCSafeHandle.cs
- TdsEnums.cs
- ListViewItemCollectionEditor.cs
- SubMenuStyleCollection.cs
- ProtectedConfiguration.cs
- ScriptDescriptor.cs
- CaseStatementSlot.cs
- EventsTab.cs
- UnknownBitmapEncoder.cs
- WebWorkflowRole.cs
- Vector3D.cs
- CommandID.cs
- AuthenticateEventArgs.cs
- DashStyle.cs
- ZoomPercentageConverter.cs
- WsatConfiguration.cs
- EntityDesignerUtils.cs
- FrameworkObject.cs
- WebPartCatalogAddVerb.cs
- ClientTargetSection.cs
- Win32Interop.cs
- XmlIterators.cs
- Currency.cs
- _NestedMultipleAsyncResult.cs
- HttpResponseWrapper.cs
- RegexCompiler.cs
- SymbolDocumentInfo.cs
- TaskFormBase.cs
- PageCache.cs
- TagPrefixCollection.cs
- DataGridViewComboBoxCell.cs
- CompiledRegexRunner.cs
- StrongTypingException.cs
- WinFormsSpinner.cs
- TextRange.cs
- SoapAttributes.cs
- RoleServiceManager.cs
- VisualBrush.cs
- FunctionParameter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- FontStyleConverter.cs
- TrackBarRenderer.cs
- Decoder.cs
- TitleStyle.cs
- OleDbException.cs
- CustomLineCap.cs
- FrameworkElementAutomationPeer.cs
- AlignmentXValidation.cs
- GreenMethods.cs
- UriSectionData.cs
- DesignerVerb.cs
- RegexTree.cs
- PagesChangedEventArgs.cs
- FrameworkElementFactoryMarkupObject.cs
- QuotedPairReader.cs
- DelegateBodyWriter.cs
- MethodBuilder.cs
- FormViewInsertedEventArgs.cs
- WebBrowserHelper.cs
- SpotLight.cs
- WindowsImpersonationContext.cs
- SerializationInfoEnumerator.cs
- ChineseLunisolarCalendar.cs
- ViewBox.cs
- SqlRewriteScalarSubqueries.cs
- VerticalConnector.xaml.cs
- SoapAttributes.cs
- AnonymousIdentificationModule.cs
- RolePrincipal.cs
- Error.cs
- Decimal.cs
- WebBrowserNavigatingEventHandler.cs
- GifBitmapEncoder.cs
- StreamGeometryContext.cs
- DataSourceControl.cs
- BitmapFrame.cs
- ByteStack.cs
- MetadataItemEmitter.cs