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
- ServiceHttpModule.cs
- sqlcontext.cs
- TagMapInfo.cs
- CompilerGeneratedAttribute.cs
- ProgressPage.cs
- ToolStripHighContrastRenderer.cs
- StreamGeometry.cs
- Queue.cs
- ComboBoxAutomationPeer.cs
- MergeLocalizationDirectives.cs
- TableRow.cs
- LockRenewalTask.cs
- TimeSpanConverter.cs
- DictionaryCustomTypeDescriptor.cs
- FrameworkTemplate.cs
- ParserStreamGeometryContext.cs
- ChildDocumentBlock.cs
- StringHandle.cs
- SendKeys.cs
- DoubleLinkListEnumerator.cs
- DesignerHierarchicalDataSourceView.cs
- CacheOutputQuery.cs
- BoundPropertyEntry.cs
- DoubleConverter.cs
- TypeAccessException.cs
- XmlWhitespace.cs
- CollectionViewProxy.cs
- webbrowsersite.cs
- ListViewAutomationPeer.cs
- StringKeyFrameCollection.cs
- WorkflowViewStateService.cs
- BaseResourcesBuildProvider.cs
- MarkupWriter.cs
- SatelliteContractVersionAttribute.cs
- DataGridDetailsPresenter.cs
- AudioFormatConverter.cs
- ElementUtil.cs
- ErrorHandlingReceiver.cs
- PasswordBox.cs
- ProtocolsConfigurationHandler.cs
- SettingsBase.cs
- SendSecurityHeader.cs
- XmlReflectionImporter.cs
- JsonServiceDocumentSerializer.cs
- SiteMapPath.cs
- FileVersionInfo.cs
- InsufficientMemoryException.cs
- SerTrace.cs
- SynchronizationLockException.cs
- StringSorter.cs
- NotifyIcon.cs
- WindowsTreeView.cs
- Compensation.cs
- ArgumentException.cs
- Command.cs
- WindowsComboBox.cs
- followingsibling.cs
- DeclaredTypeElement.cs
- ConnectionsZone.cs
- CapabilitiesAssignment.cs
- QueryAccessibilityHelpEvent.cs
- GridViewDeleteEventArgs.cs
- HandlerElementCollection.cs
- HostingEnvironmentSection.cs
- HttpHandlerActionCollection.cs
- designeractionlistschangedeventargs.cs
- WebPermission.cs
- TransactionFlowBindingElementImporter.cs
- LicenseManager.cs
- TextTreeTextBlock.cs
- PeerNameRecordCollection.cs
- OpenTypeLayout.cs
- PackageRelationship.cs
- FontInfo.cs
- MethodExpression.cs
- NextPreviousPagerField.cs
- WhiteSpaceTrimStringConverter.cs
- Sequence.cs
- CfgParser.cs
- WebUtil.cs
- ViewDesigner.cs
- ToolStripContainerDesigner.cs
- ContentHostHelper.cs
- AdapterUtil.cs
- IncrementalHitTester.cs
- StrokeCollectionConverter.cs
- AssemblyCacheEntry.cs
- DelegateSerializationHolder.cs
- translator.cs
- ManipulationDelta.cs
- XmlReaderSettings.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ControlPropertyNameConverter.cs
- SrgsRule.cs
- QilTypeChecker.cs
- XmlSchemaAnyAttribute.cs
- ProcessHostConfigUtils.cs
- QuaternionAnimationBase.cs
- UserControlAutomationPeer.cs
- ScopelessEnumAttribute.cs