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
- SkipStoryboardToFill.cs
- StandardToolWindows.cs
- CodeComment.cs
- NullableDecimalMinMaxAggregationOperator.cs
- _LazyAsyncResult.cs
- SafeNativeMethods.cs
- ObjectAnimationBase.cs
- StrokeSerializer.cs
- ComponentChangingEvent.cs
- _ProxyChain.cs
- LiteralTextParser.cs
- _MultipleConnectAsync.cs
- ComponentEvent.cs
- AnonymousIdentificationSection.cs
- securitymgrsite.cs
- FieldDescriptor.cs
- IResourceProvider.cs
- Translator.cs
- SafeWaitHandle.cs
- DocumentCollection.cs
- Geometry.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ObjectReferenceStack.cs
- GeneralEndpointIdentity.cs
- HttpConfigurationContext.cs
- XmlBinaryReaderSession.cs
- EntityDesignerUtils.cs
- Stacktrace.cs
- HTTPNotFoundHandler.cs
- ImageSource.cs
- AnnotationComponentManager.cs
- PlanCompilerUtil.cs
- TableLayoutStyleCollection.cs
- OracleCommandBuilder.cs
- MDIClient.cs
- AnnotationAuthorChangedEventArgs.cs
- GrabHandleGlyph.cs
- NativeMethods.cs
- Bidi.cs
- TextViewBase.cs
- OdbcEnvironment.cs
- __TransparentProxy.cs
- EpmCustomContentSerializer.cs
- Stylesheet.cs
- XmlChildEnumerator.cs
- NamespaceCollection.cs
- Color.cs
- SortDescription.cs
- TextTabProperties.cs
- ButtonBaseAdapter.cs
- NodeFunctions.cs
- ContextInformation.cs
- ExpressionBuilder.cs
- AtomServiceDocumentSerializer.cs
- AuthenticationException.cs
- Debug.cs
- ICspAsymmetricAlgorithm.cs
- FixedFlowMap.cs
- IOThreadScheduler.cs
- ChangePasswordDesigner.cs
- SQLResource.cs
- StringReader.cs
- WpfKnownType.cs
- BaseProcessProtocolHandler.cs
- Walker.cs
- EndpointInstanceProvider.cs
- ExpressionBuilderContext.cs
- SqlServices.cs
- XmlLanguage.cs
- ContainerTracking.cs
- EntityContainerEntitySetDefiningQuery.cs
- StyleBamlTreeBuilder.cs
- Configuration.cs
- Int32.cs
- XPathNavigatorReader.cs
- COM2FontConverter.cs
- CodeAccessPermission.cs
- ReferenceTypeElement.cs
- _Win32.cs
- SystemInfo.cs
- HashAlgorithm.cs
- ADMembershipProvider.cs
- CodeEventReferenceExpression.cs
- ReceiveSecurityHeaderElementManager.cs
- XamlTemplateSerializer.cs
- LinkButton.cs
- Matrix3D.cs
- CssClassPropertyAttribute.cs
- AutoResizedEvent.cs
- assemblycache.cs
- XmlNotation.cs
- CssStyleCollection.cs
- SqlTypesSchemaImporter.cs
- WorkflowDebuggerSteppingAttribute.cs
- QueryStringParameter.cs
- TransportSecurityProtocol.cs
- WebServiceEnumData.cs
- ThaiBuddhistCalendar.cs
- WindowsStatusBar.cs
- RegexParser.cs