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
- DataPointer.cs
- NonClientArea.cs
- ArgIterator.cs
- AdornerLayer.cs
- Color.cs
- GeneralTransform2DTo3DTo2D.cs
- SafeRightsManagementSessionHandle.cs
- __Filters.cs
- SqlCacheDependencySection.cs
- WebControl.cs
- FtpWebRequest.cs
- PageParser.cs
- DuplexClientBase.cs
- HttpProfileBase.cs
- DesignerProperties.cs
- RoutedEvent.cs
- PersonalizationStateQuery.cs
- MemberAccessException.cs
- MissingMethodException.cs
- RemotingException.cs
- EntityContainerAssociationSetEnd.cs
- ScrollBar.cs
- DataGridViewRowPrePaintEventArgs.cs
- DispatcherEventArgs.cs
- CancellationHandler.cs
- FloaterParaClient.cs
- ButtonRenderer.cs
- WindowsTab.cs
- DSACryptoServiceProvider.cs
- XmlDictionaryReader.cs
- HitTestResult.cs
- ReadOnlyAttribute.cs
- FunctionQuery.cs
- StreamResourceInfo.cs
- Ops.cs
- SamlDoNotCacheCondition.cs
- CollectionViewSource.cs
- WebPartZone.cs
- SimpleMailWebEventProvider.cs
- ProxyGenerator.cs
- PKCS1MaskGenerationMethod.cs
- Exceptions.cs
- ControlParameter.cs
- Control.cs
- ComponentFactoryHelpers.cs
- EncodingTable.cs
- DbParameterCollectionHelper.cs
- ToolStripItemImageRenderEventArgs.cs
- Image.cs
- assemblycache.cs
- BufferedGraphicsManager.cs
- FastPropertyAccessor.cs
- PathGeometry.cs
- DocumentSchemaValidator.cs
- ProviderUtil.cs
- GeneralTransform3D.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- BufferBuilder.cs
- LambdaCompiler.Address.cs
- XmlNodeChangedEventArgs.cs
- WebUtil.cs
- VariableBinder.cs
- WebPageTraceListener.cs
- EntityDataSourceView.cs
- BamlStream.cs
- HtmlForm.cs
- BindingElement.cs
- Stylus.cs
- OleDbConnectionFactory.cs
- AesManaged.cs
- LeaseManager.cs
- WebPartTransformerAttribute.cs
- TextTreeRootNode.cs
- BStrWrapper.cs
- FactoryGenerator.cs
- ModulesEntry.cs
- IIS7WorkerRequest.cs
- StorageFunctionMapping.cs
- GroupLabel.cs
- ResolvedKeyFrameEntry.cs
- DataColumnPropertyDescriptor.cs
- DiscreteKeyFrames.cs
- columnmapkeybuilder.cs
- TreeViewItemAutomationPeer.cs
- MetadataException.cs
- ResolvedKeyFrameEntry.cs
- Positioning.cs
- InputDevice.cs
- DiscoveryClientChannelFactory.cs
- ListChangedEventArgs.cs
- TableCellCollection.cs
- ApplicationGesture.cs
- HttpRuntimeSection.cs
- ClientReliableChannelBinder.cs
- SamlAction.cs
- LinkArea.cs
- COM2PropertyDescriptor.cs
- TextMarkerSource.cs
- precedingquery.cs
- SystemIPInterfaceProperties.cs