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
- EmptyReadOnlyDictionaryInternal.cs
- XamlTemplateSerializer.cs
- TripleDES.cs
- UserNameSecurityToken.cs
- COM2ICategorizePropertiesHandler.cs
- ContainerFilterService.cs
- JavaScriptObjectDeserializer.cs
- Match.cs
- PersistenceTypeAttribute.cs
- RadioButtonRenderer.cs
- XmlCharCheckingReader.cs
- QueryCacheKey.cs
- DllNotFoundException.cs
- RegexStringValidatorAttribute.cs
- OleDbMetaDataFactory.cs
- IntranetCredentialPolicy.cs
- DataIdProcessor.cs
- SemanticTag.cs
- CodeDomSerializer.cs
- BitFlagsGenerator.cs
- UnsafeMethods.cs
- IgnoreSection.cs
- HttpListenerResponse.cs
- EntityProxyFactory.cs
- GuidConverter.cs
- InputDevice.cs
- IncrementalReadDecoders.cs
- ApplicationContext.cs
- SiblingIterators.cs
- ProvidersHelper.cs
- PartialList.cs
- HwndSourceParameters.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- ExpressionNode.cs
- UriGenerator.cs
- ComboBox.cs
- SqlAliasesReferenced.cs
- InternalTypeHelper.cs
- HttpChannelBindingToken.cs
- HttpBindingExtension.cs
- DeclarationUpdate.cs
- StandardOleMarshalObject.cs
- HostDesigntimeLicenseContext.cs
- AnnotationAuthorChangedEventArgs.cs
- SelectorItemAutomationPeer.cs
- basevalidator.cs
- CqlLexer.cs
- CultureMapper.cs
- DecoderFallback.cs
- PointCollection.cs
- XmlHierarchicalEnumerable.cs
- DataRowCollection.cs
- ColorAnimationUsingKeyFrames.cs
- WebDescriptionAttribute.cs
- ExecutionEngineException.cs
- SchemaElementDecl.cs
- WinEventTracker.cs
- RemoteWebConfigurationHost.cs
- TemplateBuilder.cs
- SectionInput.cs
- DomainUpDown.cs
- Inline.cs
- RegisteredScript.cs
- FontCacheUtil.cs
- XmlWrappingReader.cs
- SelectionPatternIdentifiers.cs
- RadioButtonFlatAdapter.cs
- DataGridViewDataConnection.cs
- MissingSatelliteAssemblyException.cs
- DesignerActionMethodItem.cs
- ClonableStack.cs
- LinqDataSourceContextEventArgs.cs
- ContentOnlyMessage.cs
- QueryStatement.cs
- ProfileServiceManager.cs
- DataListGeneralPage.cs
- RegexMatch.cs
- SmtpMail.cs
- Base64Decoder.cs
- HtmlTableRowCollection.cs
- PathFigureCollectionConverter.cs
- DoubleCollection.cs
- Int64KeyFrameCollection.cs
- EventListenerClientSide.cs
- Size.cs
- WorkflowMarkupSerializerMapping.cs
- EmptyCollection.cs
- BuildResult.cs
- FtpWebRequest.cs
- InstanceOwnerException.cs
- Package.cs
- PropertyIDSet.cs
- WindowCollection.cs
- DesignBindingEditor.cs
- ListViewItem.cs
- X509PeerCertificateAuthentication.cs
- ChooseAction.cs
- Panel.cs
- GenerateScriptTypeAttribute.cs
- XPathException.cs