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
- IERequestCache.cs
- WaitHandle.cs
- SectionVisual.cs
- AsyncStreamReader.cs
- CorePropertiesFilter.cs
- ActiveXSite.cs
- WizardStepBase.cs
- ProviderMetadataCachedInformation.cs
- ResourceDescriptionAttribute.cs
- SettingsSection.cs
- ProxyWebPartManager.cs
- ResponseBodyWriter.cs
- ZipIOExtraFieldPaddingElement.cs
- SecurityException.cs
- ImageFormatConverter.cs
- EventLogPropertySelector.cs
- XmlEncoding.cs
- Membership.cs
- ChannelTokenTypeConverter.cs
- ProxyWebPartConnectionCollection.cs
- Compress.cs
- ServiceNameElement.cs
- DataGridViewUtilities.cs
- SystemTcpConnection.cs
- Codec.cs
- StringResourceManager.cs
- TypeReference.cs
- PrimaryKeyTypeConverter.cs
- NullReferenceException.cs
- FormsAuthenticationConfiguration.cs
- ItemList.cs
- Cursor.cs
- ObjectSecurity.cs
- PerformanceCounterPermissionAttribute.cs
- CodeTypeMember.cs
- ByteStreamGeometryContext.cs
- bindurihelper.cs
- WebProxyScriptElement.cs
- DPCustomTypeDescriptor.cs
- PrefixQName.cs
- SizeAnimationUsingKeyFrames.cs
- ImageCodecInfoPrivate.cs
- EasingQuaternionKeyFrame.cs
- BinaryKeyIdentifierClause.cs
- ChangeInterceptorAttribute.cs
- WebPartConnectionsCancelVerb.cs
- MsdtcWrapper.cs
- FontInfo.cs
- ADRoleFactory.cs
- XmlObjectSerializerReadContext.cs
- TextRangeEdit.cs
- Signature.cs
- EventLevel.cs
- Relationship.cs
- ExecutionEngineException.cs
- Point.cs
- RelationshipEndCollection.cs
- DataStreamFromComStream.cs
- SoapElementAttribute.cs
- Exceptions.cs
- SizeAnimation.cs
- EmptyTextWriter.cs
- OutputCache.cs
- BitStack.cs
- SqlWriter.cs
- ContainerVisual.cs
- CodeCommentStatement.cs
- ViewKeyConstraint.cs
- EncodingDataItem.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- UnhandledExceptionEventArgs.cs
- HasCopySemanticsAttribute.cs
- ServerValidateEventArgs.cs
- BindToObject.cs
- ObjectMemberMapping.cs
- DataColumnPropertyDescriptor.cs
- ErrorHandler.cs
- SQLMoneyStorage.cs
- MsmqProcessProtocolHandler.cs
- figurelength.cs
- ConfigPathUtility.cs
- DataColumnChangeEvent.cs
- NumberSubstitution.cs
- SqlUserDefinedAggregateAttribute.cs
- StructuralType.cs
- UserControlCodeDomTreeGenerator.cs
- DefaultCompensation.cs
- SpecialFolderEnumConverter.cs
- HtmlInputText.cs
- HealthMonitoringSectionHelper.cs
- QueryTask.cs
- IntSecurity.cs
- Propagator.JoinPropagator.cs
- ElapsedEventArgs.cs
- IgnoreSection.cs
- DataBinder.cs
- DataBinder.cs
- WindowsSecurityToken.cs
- SafePointer.cs
- DoubleAnimationUsingPath.cs