Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RowCache.cs
- DebugView.cs
- DataGridHeaderBorder.cs
- DataGrid.cs
- _PooledStream.cs
- WhiteSpaceTrimStringConverter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- PerformanceCounterCategory.cs
- _LazyAsyncResult.cs
- UIHelper.cs
- SchemaImporterExtensionElementCollection.cs
- Win32Interop.cs
- TaskbarItemInfo.cs
- BinaryHeap.cs
- ToolStripItemRenderEventArgs.cs
- DuplicateWaitObjectException.cs
- RadioButtonList.cs
- Pair.cs
- CodeChecksumPragma.cs
- FileFormatException.cs
- DbProviderFactory.cs
- InvokeMethodDesigner.xaml.cs
- SrgsElement.cs
- Pair.cs
- CipherData.cs
- GestureRecognitionResult.cs
- XmlSchemaGroup.cs
- Typography.cs
- ModulesEntry.cs
- ProxyDataContractResolver.cs
- ContextStaticAttribute.cs
- AutomationPatternInfo.cs
- DataGridParentRows.cs
- TrackingServices.cs
- GetIndexBinder.cs
- ResourceAttributes.cs
- Models.cs
- ZoneButton.cs
- WorkflowFileItem.cs
- ActivityBuilderHelper.cs
- EventToken.cs
- SQlBooleanStorage.cs
- XpsPackagingPolicy.cs
- ReachDocumentPageSerializerAsync.cs
- WpfSharedBamlSchemaContext.cs
- WCFModelStrings.Designer.cs
- DesignTimeData.cs
- ObjectStateFormatter.cs
- ListSortDescriptionCollection.cs
- MergeLocalizationDirectives.cs
- ForEachDesigner.xaml.cs
- CompilerInfo.cs
- Converter.cs
- HandleRef.cs
- SharedPersonalizationStateInfo.cs
- SqlWebEventProvider.cs
- UnsafeNativeMethods.cs
- FieldMetadata.cs
- TaiwanLunisolarCalendar.cs
- BufferBuilder.cs
- FileRecordSequence.cs
- DataBoundControl.cs
- SettingsPropertyWrongTypeException.cs
- ProcessModelSection.cs
- CollectionBuilder.cs
- COM2PropertyPageUITypeConverter.cs
- XmlChoiceIdentifierAttribute.cs
- TypeNameConverter.cs
- XmlSchemaCollection.cs
- BitmapSource.cs
- ParallelTimeline.cs
- DBCSCodePageEncoding.cs
- SchemaTableColumn.cs
- GenericTransactionFlowAttribute.cs
- SqlConnectionString.cs
- RoutedEventHandlerInfo.cs
- _PooledStream.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- figurelength.cs
- StoryFragments.cs
- SemanticResultKey.cs
- RouteItem.cs
- FlowDocumentPage.cs
- RelatedPropertyManager.cs
- ObjectViewListener.cs
- Message.cs
- Rotation3DAnimation.cs
- RealizationContext.cs
- ProcessThreadDesigner.cs
- Invariant.cs
- SendAgentStatusRequest.cs
- WindowsRichEdit.cs
- DefaultBinder.cs
- ADConnectionHelper.cs
- WebPartsPersonalizationAuthorization.cs
- TableParagraph.cs
- ProtocolImporter.cs
- PenThreadPool.cs
- PerspectiveCamera.cs
- OleDbDataAdapter.cs