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
- WSFederationHttpSecurityElement.cs
- Itemizer.cs
- XmlTextReaderImpl.cs
- UpdateCommand.cs
- SchemaElement.cs
- ConfigurationSettings.cs
- NCryptNative.cs
- SingleAnimation.cs
- MaterializeFromAtom.cs
- SqlUtil.cs
- ComplexTypeEmitter.cs
- XmlWrappingReader.cs
- Menu.cs
- ContainsRowNumberChecker.cs
- HtmlControl.cs
- LocationUpdates.cs
- SafePointer.cs
- ControlIdConverter.cs
- ListViewDataItem.cs
- DesigntimeLicenseContextSerializer.cs
- RequiredFieldValidator.cs
- BaseCodePageEncoding.cs
- DivideByZeroException.cs
- Merger.cs
- EdmProperty.cs
- ScrollableControl.cs
- SessionStateSection.cs
- DateTimeOffsetStorage.cs
- RewritingValidator.cs
- dbenumerator.cs
- StatusBarPanel.cs
- ExpressionHelper.cs
- hresults.cs
- NullReferenceException.cs
- SchemaElement.cs
- CharacterString.cs
- wmiprovider.cs
- XmlValueConverter.cs
- HandleCollector.cs
- CollectionView.cs
- XmlUTF8TextWriter.cs
- documentsequencetextcontainer.cs
- TemplateNameScope.cs
- SqlDataSourceSelectingEventArgs.cs
- ProfileService.cs
- SQLDoubleStorage.cs
- ParserStreamGeometryContext.cs
- FormatConvertedBitmap.cs
- Nodes.cs
- BatchStream.cs
- StringDictionary.cs
- WindowsRichEditRange.cs
- MultipleViewProviderWrapper.cs
- ZipIOExtraFieldPaddingElement.cs
- counter.cs
- HttpPostedFileWrapper.cs
- EventsTab.cs
- OleDbEnumerator.cs
- GrammarBuilderPhrase.cs
- SingleConverter.cs
- SoapAttributeOverrides.cs
- TextBoxAutoCompleteSourceConverter.cs
- EventLogQuery.cs
- FolderLevelBuildProviderCollection.cs
- EventHandlersStore.cs
- ContentPresenter.cs
- CompilationUnit.cs
- PageTheme.cs
- ClientSettingsStore.cs
- HttpCacheVaryByContentEncodings.cs
- TableChangeProcessor.cs
- EditCommandColumn.cs
- CodeSubDirectoriesCollection.cs
- ReadOnlyState.cs
- ChannelServices.cs
- CombinedGeometry.cs
- ProgressBarHighlightConverter.cs
- ToolStripGripRenderEventArgs.cs
- Color.cs
- DynamicResourceExtensionConverter.cs
- CatalogPart.cs
- DataControlPagerLinkButton.cs
- BindableAttribute.cs
- DurableTimerExtension.cs
- FloaterParagraph.cs
- WorkflowRuntimeServiceElementCollection.cs
- WebPartConnectionsConnectVerb.cs
- HtmlTextViewAdapter.cs
- SystemTcpConnection.cs
- Color.cs
- ICspAsymmetricAlgorithm.cs
- ForceCopyBuildProvider.cs
- CharKeyFrameCollection.cs
- AvTraceDetails.cs
- Hex.cs
- AncillaryOps.cs
- InputScope.cs
- InputBinding.cs
- LinkLabelLinkClickedEvent.cs
- SchemaImporterExtensionElementCollection.cs