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
- WindowsListBox.cs
- SeekStoryboard.cs
- OleDbTransaction.cs
- ObjectKeyFrameCollection.cs
- CompiledWorkflowDefinitionContext.cs
- CatalogPartCollection.cs
- XPathException.cs
- InvalidWMPVersionException.cs
- DataGridPageChangedEventArgs.cs
- Avt.cs
- CustomSignedXml.cs
- CommandHelpers.cs
- AsyncCompletedEventArgs.cs
- DetailsViewPagerRow.cs
- TimeManager.cs
- ContextMenuService.cs
- GZipDecoder.cs
- SafeLibraryHandle.cs
- ObjectListGeneralPage.cs
- TreeNodeStyle.cs
- NamespaceMapping.cs
- BitmapFrameEncode.cs
- GridViewAutomationPeer.cs
- InkCanvasFeedbackAdorner.cs
- HasCopySemanticsAttribute.cs
- DataTable.cs
- ContextStack.cs
- DictionaryEntry.cs
- ExitEventArgs.cs
- DoubleLink.cs
- LinqDataSourceEditData.cs
- UnsafePeerToPeerMethods.cs
- ISAPIApplicationHost.cs
- MemberListBinding.cs
- LineMetrics.cs
- ThrowOnMultipleAssignment.cs
- BinHexDecoder.cs
- SortedDictionary.cs
- ApplicationBuildProvider.cs
- GridViewSelectEventArgs.cs
- InternalResources.cs
- SqlClientWrapperSmiStreamChars.cs
- FixedTextBuilder.cs
- ChangesetResponse.cs
- SignatureDescription.cs
- DataExchangeServiceBinder.cs
- ListParagraph.cs
- ActivityExecutionContextCollection.cs
- MessagePropertyDescriptionCollection.cs
- CancelEventArgs.cs
- PageCache.cs
- UserControl.cs
- ApplicationSettingsBase.cs
- InternalPolicyElement.cs
- Error.cs
- PropertyCondition.cs
- WindowsScroll.cs
- WebEvents.cs
- ProxyFragment.cs
- Blend.cs
- Timeline.cs
- FamilyMapCollection.cs
- CodeTypeReference.cs
- FormViewPageEventArgs.cs
- StringInfo.cs
- ObjectDataSourceFilteringEventArgs.cs
- BlurEffect.cs
- ParameterCollection.cs
- DataSetFieldSchema.cs
- TextDecoration.cs
- MetaModel.cs
- GeometryGroup.cs
- RowsCopiedEventArgs.cs
- WebPermission.cs
- GeneratedContractType.cs
- TextOutput.cs
- RecognizerInfo.cs
- XmlSchemaAnnotated.cs
- AssociationTypeEmitter.cs
- TemplateControlParser.cs
- DecimalAnimationUsingKeyFrames.cs
- CanExecuteRoutedEventArgs.cs
- LinkButton.cs
- Base64Decoder.cs
- MachineKey.cs
- SimpleParser.cs
- CellLabel.cs
- QilFactory.cs
- NonSerializedAttribute.cs
- WmlTextBoxAdapter.cs
- WebBaseEventKeyComparer.cs
- MachineKeyConverter.cs
- Collection.cs
- FormatException.cs
- MenuItemBinding.cs
- IImplicitResourceProvider.cs
- DataSourceCacheDurationConverter.cs
- FrameworkEventSource.cs
- ClipboardProcessor.cs
- uribuilder.cs