Code:
/ 4.0 / 4.0 / 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. 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
- XsltSettings.cs
- WebPageTraceListener.cs
- DataSourceUtil.cs
- XmlWellformedWriter.cs
- CodeDomConfigurationHandler.cs
- CodeLabeledStatement.cs
- SingleKeyFrameCollection.cs
- FontStyles.cs
- CompatibleIComparer.cs
- Constants.cs
- ListenerAdapter.cs
- VBCodeProvider.cs
- PopupControlService.cs
- DoubleAnimationBase.cs
- Line.cs
- MarkupObject.cs
- CrossContextChannel.cs
- Line.cs
- FilterQuery.cs
- TextTreeUndoUnit.cs
- CodeAttachEventStatement.cs
- XmlBaseWriter.cs
- X509ChainElement.cs
- shaper.cs
- SecurityVersion.cs
- ToolBarOverflowPanel.cs
- Viewport3DVisual.cs
- ColorEditor.cs
- DocumentSchemaValidator.cs
- PermissionRequestEvidence.cs
- XmlAttributeAttribute.cs
- SoapCodeExporter.cs
- ConstNode.cs
- DependencyObject.cs
- Tablet.cs
- CollectionContainer.cs
- StateDesigner.TransitionInfo.cs
- ClientCultureInfo.cs
- IERequestCache.cs
- TextDecorationUnitValidation.cs
- BinaryConverter.cs
- SoapProtocolImporter.cs
- DataGridViewBindingCompleteEventArgs.cs
- ChannelServices.cs
- FilterElement.cs
- SubMenuStyleCollection.cs
- WebBrowserNavigatedEventHandler.cs
- SharedDp.cs
- CodeAttributeArgumentCollection.cs
- WebEventCodes.cs
- ToolStripScrollButton.cs
- StateMachineAction.cs
- StringComparer.cs
- TextDecorationCollection.cs
- WinEventTracker.cs
- SchemaManager.cs
- Page.cs
- IdentitySection.cs
- XmlSiteMapProvider.cs
- SecurityContextKeyIdentifierClause.cs
- SqlConnectionPoolProviderInfo.cs
- StructuredType.cs
- DataListItemCollection.cs
- NetTcpSecurityElement.cs
- HttpFormatExtensions.cs
- CuspData.cs
- BatchParser.cs
- SelectionRange.cs
- Soap.cs
- SystemException.cs
- TextBoxDesigner.cs
- AliasExpr.cs
- JavaScriptSerializer.cs
- CmsUtils.cs
- AssemblyInfo.cs
- InstallerTypeAttribute.cs
- ScriptingProfileServiceSection.cs
- LinearKeyFrames.cs
- BooleanKeyFrameCollection.cs
- RulePatternOps.cs
- FontCollection.cs
- Registry.cs
- DBBindings.cs
- MenuItemStyle.cs
- updatecommandorderer.cs
- ConfigXmlComment.cs
- SqlUnionizer.cs
- ExtendedTransformFactory.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- SessionEndingCancelEventArgs.cs
- SerializableAttribute.cs
- WizardForm.cs
- EnterpriseServicesHelper.cs
- rsa.cs
- ZipIORawDataFileBlock.cs
- OperationCanceledException.cs
- DocobjHost.cs
- ListChangedEventArgs.cs
- StringBuilder.cs
- ExceptionHelpers.cs