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
- WebHeaderCollection.cs
- ItemType.cs
- NameTable.cs
- TypeNameConverter.cs
- Timeline.cs
- WebServiceData.cs
- CompilerGlobalScopeAttribute.cs
- HostExecutionContextManager.cs
- CookieProtection.cs
- Parsers.cs
- MultipleFilterMatchesException.cs
- HtmlInputHidden.cs
- DesignTimeSiteMapProvider.cs
- DebugControllerThread.cs
- HebrewCalendar.cs
- EntitySet.cs
- DataBindingList.cs
- ServiceElementCollection.cs
- EntityParameterCollection.cs
- DescendantQuery.cs
- ProgressBarAutomationPeer.cs
- DiscardableAttribute.cs
- ObjectDataSourceEventArgs.cs
- FunctionUpdateCommand.cs
- IdentitySection.cs
- MediaCommands.cs
- SupportingTokenProviderSpecification.cs
- MDIWindowDialog.cs
- SafeMarshalContext.cs
- RenderData.cs
- SelectionListComponentEditor.cs
- PreApplicationStartMethodAttribute.cs
- XsltSettings.cs
- IteratorFilter.cs
- TimeEnumHelper.cs
- DesignerGenericWebPart.cs
- ToolStripItemRenderEventArgs.cs
- Clipboard.cs
- MethodExpr.cs
- DateTimeValueSerializerContext.cs
- AxisAngleRotation3D.cs
- ServiceObjectContainer.cs
- Parallel.cs
- WinFormsSecurity.cs
- IsolatedStorageSecurityState.cs
- EmbeddedMailObjectsCollection.cs
- XmlBaseWriter.cs
- ParameterCollection.cs
- OdbcCommand.cs
- RegexCapture.cs
- UnorderedHashRepartitionStream.cs
- InvalidOleVariantTypeException.cs
- ExceptionRoutedEventArgs.cs
- _emptywebproxy.cs
- WebBaseEventKeyComparer.cs
- TimeEnumHelper.cs
- Transform3D.cs
- DataViewSettingCollection.cs
- LogManagementAsyncResult.cs
- UserNameSecurityToken.cs
- TrustLevelCollection.cs
- oledbmetadatacolumnnames.cs
- ServiceErrorHandler.cs
- EntityDataSourceChangingEventArgs.cs
- TimeZoneInfo.cs
- ObjectSet.cs
- ErrorHandlingAcceptor.cs
- ElementNotAvailableException.cs
- DispatchChannelSink.cs
- FlowLayoutSettings.cs
- EventLog.cs
- ListBoxItem.cs
- SqlMethodCallConverter.cs
- ContainerAction.cs
- CodeMemberEvent.cs
- DataGridToolTip.cs
- DeploymentSection.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- DictionaryEditChange.cs
- XmlTextReaderImpl.cs
- BaseCollection.cs
- ActivatableWorkflowsQueryResult.cs
- PLINQETWProvider.cs
- ListViewEditEventArgs.cs
- ScopeCollection.cs
- StylusPointPropertyUnit.cs
- XmlNodeChangedEventArgs.cs
- TypeBuilder.cs
- PermissionToken.cs
- SqlAliaser.cs
- RoleBoolean.cs
- TreeViewItemAutomationPeer.cs
- CodeExpressionStatement.cs
- SAPICategories.cs
- EndpointReference.cs
- UserPersonalizationStateInfo.cs
- ButtonField.cs
- XmlNamespaceDeclarationsAttribute.cs
- Decoder.cs
- DisplayMemberTemplateSelector.cs