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
- CannotUnloadAppDomainException.cs
- TableLayoutSettings.cs
- ParameterModifier.cs
- AdornerHitTestResult.cs
- RegularExpressionValidator.cs
- OracleString.cs
- AvTrace.cs
- HybridObjectCache.cs
- TreeWalkHelper.cs
- CodeDefaultValueExpression.cs
- Win32.cs
- CodeBinaryOperatorExpression.cs
- MemberPathMap.cs
- FilterInvalidBodyAccessException.cs
- WindowsMenu.cs
- ADMembershipProvider.cs
- FormViewPageEventArgs.cs
- LinkLabel.cs
- DriveInfo.cs
- CodeIdentifier.cs
- BaseUriHelper.cs
- StructuredCompositeActivityDesigner.cs
- TextTreeRootTextBlock.cs
- Int32Converter.cs
- StringStorage.cs
- SapiRecognizer.cs
- WindowsFormsHost.cs
- AddInPipelineAttributes.cs
- ReadWriteObjectLock.cs
- Utils.cs
- FrameworkReadOnlyPropertyMetadata.cs
- AppSettingsReader.cs
- BufferedReadStream.cs
- TypeReference.cs
- InteropAutomationProvider.cs
- InputElement.cs
- ConfigurationSectionHelper.cs
- Process.cs
- AssemblyBuilder.cs
- invalidudtexception.cs
- NativeMethods.cs
- ValidatedControlConverter.cs
- ReplacementText.cs
- CodeBinaryOperatorExpression.cs
- FrameworkElementFactoryMarkupObject.cs
- ZipIOExtraField.cs
- RectAnimation.cs
- FormViewDeleteEventArgs.cs
- DataGridViewComboBoxEditingControl.cs
- GridView.cs
- SoapMessage.cs
- DependentList.cs
- StyleHelper.cs
- TextViewDesigner.cs
- FillBehavior.cs
- RsaSecurityKey.cs
- SafeArrayRankMismatchException.cs
- ProcessHostServerConfig.cs
- bidPrivateBase.cs
- ElementMarkupObject.cs
- DataSourceCollectionBase.cs
- TokenBasedSetEnumerator.cs
- XmlSerializableWriter.cs
- DataBindingHandlerAttribute.cs
- DialogWindow.cs
- TargetInvocationException.cs
- LookupNode.cs
- GridViewEditEventArgs.cs
- ChildDocumentBlock.cs
- MissingMethodException.cs
- TagMapCollection.cs
- XPathParser.cs
- Knowncolors.cs
- TextProperties.cs
- AdapterSwitches.cs
- Vector3DConverter.cs
- PathFigure.cs
- EmbeddedMailObjectsCollection.cs
- errorpatternmatcher.cs
- MethodBuilderInstantiation.cs
- RelationshipType.cs
- Matrix3D.cs
- Predicate.cs
- InfoCardTraceRecord.cs
- _LocalDataStore.cs
- XmlDsigSep2000.cs
- CompensationToken.cs
- KerberosSecurityTokenProvider.cs
- Point3DAnimationBase.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- GradientSpreadMethodValidation.cs
- SoapReflector.cs
- XmlSchemaAttributeGroup.cs
- ErrorFormatter.cs
- NativeMethods.cs
- TableLayoutColumnStyleCollection.cs
- RootProfilePropertySettingsCollection.cs
- ProfilePropertyMetadata.cs
- VectorCollection.cs
- UpdateTranslator.cs