Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WebPartExportVerb.cs
- HtmlElementCollection.cs
- DocumentXmlWriter.cs
- ReaderWriterLock.cs
- SqlNodeAnnotation.cs
- MenuItem.cs
- BackStopAuthenticationModule.cs
- BulletDecorator.cs
- ChannelPoolSettings.cs
- OpenTypeLayoutCache.cs
- future.cs
- TabItemAutomationPeer.cs
- Listbox.cs
- DataQuery.cs
- sqlpipe.cs
- Visual.cs
- UnsafeNativeMethods.cs
- ConfigurationStrings.cs
- SymbolType.cs
- ArrayWithOffset.cs
- Literal.cs
- NamedObject.cs
- SmtpFailedRecipientsException.cs
- Region.cs
- DecimalStorage.cs
- ModuleBuilderData.cs
- Int32RectConverter.cs
- AnnotationHighlightLayer.cs
- Permission.cs
- SettingsBase.cs
- Message.cs
- StringFreezingAttribute.cs
- Focus.cs
- PersonalizationStateInfo.cs
- Cursor.cs
- TdsParserSessionPool.cs
- XmlSchemaComplexContentExtension.cs
- FormsAuthenticationModule.cs
- ReflectionUtil.cs
- TextEditorCopyPaste.cs
- Serializer.cs
- EventMap.cs
- FacetDescription.cs
- DBSchemaRow.cs
- IDictionary.cs
- Win32.cs
- GridViewRow.cs
- SqlClientWrapperSmiStreamChars.cs
- PartialList.cs
- Int64AnimationBase.cs
- TableLayoutColumnStyleCollection.cs
- KnownBoxes.cs
- Menu.cs
- MethodToken.cs
- TransportContext.cs
- CursorInteropHelper.cs
- _Connection.cs
- BlurEffect.cs
- HandlerWithFactory.cs
- ServiceDesigner.cs
- TransformValueSerializer.cs
- COM2FontConverter.cs
- Track.cs
- Glyph.cs
- AggregateNode.cs
- RootBrowserWindowProxy.cs
- ThemeConfigurationDialog.cs
- XmlLanguage.cs
- DrawListViewSubItemEventArgs.cs
- UIElementParagraph.cs
- DebuggerAttributes.cs
- ScriptControlDescriptor.cs
- PropertyGridEditorPart.cs
- MouseDevice.cs
- EndpointIdentity.cs
- TextRangeSerialization.cs
- SymmetricKeyWrap.cs
- ToolStripDropDownItem.cs
- PartialCachingAttribute.cs
- SqlHelper.cs
- DataGridTemplateColumn.cs
- DependencyPropertyChangedEventArgs.cs
- AnonymousIdentificationModule.cs
- RelationshipFixer.cs
- CommandEventArgs.cs
- UnsafeNativeMethodsPenimc.cs
- Style.cs
- ArgumentException.cs
- TreeNodeBinding.cs
- DbParameterCollection.cs
- ViewStateModeByIdAttribute.cs
- ScriptHandlerFactory.cs
- PerformanceCounterCategory.cs
- PasswordRecovery.cs
- MessageSecurityOverTcpElement.cs
- GPStream.cs
- EventRouteFactory.cs
- ChildrenQuery.cs
- Documentation.cs
- GrammarBuilder.cs