Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyPathConverter.cs
- ControlBuilderAttribute.cs
- DecoratedNameAttribute.cs
- unsafenativemethodsother.cs
- SortQuery.cs
- ButtonColumn.cs
- SingleKeyFrameCollection.cs
- DnsEndPoint.cs
- NameValuePair.cs
- SyncOperationState.cs
- ReadOnlyDictionary.cs
- WebControl.cs
- ProcessProtocolHandler.cs
- DataSourceView.cs
- SimpleBitVector32.cs
- XmlQueryStaticData.cs
- PenThreadWorker.cs
- Options.cs
- UriSchemeKeyedCollection.cs
- SafeIUnknown.cs
- safex509handles.cs
- SqlRewriteScalarSubqueries.cs
- Component.cs
- mediaeventshelper.cs
- NativeWrapper.cs
- DeclaredTypeValidatorAttribute.cs
- SoapHeaders.cs
- AssemblyInfo.cs
- EventItfInfo.cs
- PermissionToken.cs
- GeneralTransform2DTo3D.cs
- UpdateCompiler.cs
- ProgressBarBrushConverter.cs
- UserControlAutomationPeer.cs
- TextElementEnumerator.cs
- PerformanceCounterPermissionAttribute.cs
- NamedPermissionSet.cs
- MouseBinding.cs
- XmlReader.cs
- SerializationException.cs
- TableLayoutSettings.cs
- DragEvent.cs
- RedirectionProxy.cs
- TextChangedEventArgs.cs
- ToolStripLabel.cs
- KeyPullup.cs
- FlowDocumentFormatter.cs
- BitmapFrameDecode.cs
- Utility.cs
- MemberCollection.cs
- DiscoveryServerProtocol.cs
- XmlSchemaProviderAttribute.cs
- SessionSwitchEventArgs.cs
- DeviceContexts.cs
- DiagnosticsConfigurationHandler.cs
- PathNode.cs
- URLBuilder.cs
- GcSettings.cs
- NonSerializedAttribute.cs
- NodeLabelEditEvent.cs
- Utils.cs
- GlyphCache.cs
- SizeAnimationBase.cs
- MsmqOutputChannel.cs
- XmlQueryContext.cs
- ToolStripSeparator.cs
- SoapAttributeOverrides.cs
- PriorityRange.cs
- CommandID.cs
- CompilerScope.cs
- UIElementIsland.cs
- ProviderIncompatibleException.cs
- Timer.cs
- ImageIndexEditor.cs
- SmtpException.cs
- ComponentManagerBroker.cs
- PropertiesTab.cs
- WSDualHttpBinding.cs
- CodeGenerationManager.cs
- QilPatternVisitor.cs
- StorageSetMapping.cs
- MetadataItemEmitter.cs
- ImageIndexConverter.cs
- StylusCaptureWithinProperty.cs
- XmlDataSourceNodeDescriptor.cs
- DependentList.cs
- FileEnumerator.cs
- CheckBoxList.cs
- DataGridHeaderBorder.cs
- DispatcherHookEventArgs.cs
- HwndSubclass.cs
- initElementDictionary.cs
- ComponentSerializationService.cs
- InfoCardSymmetricAlgorithm.cs
- CollectionContainer.cs
- PropertyExpression.cs
- SqlMetaData.cs
- HierarchicalDataBoundControl.cs
- MetadataUtil.cs
- Button.cs