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
- IndicCharClassifier.cs
- BoundConstants.cs
- NetMsmqBinding.cs
- NavigationProperty.cs
- TableSectionStyle.cs
- ChameleonKey.cs
- WinEventTracker.cs
- PackagingUtilities.cs
- PenLineJoinValidation.cs
- Grid.cs
- FirewallWrapper.cs
- ExpressionEditorSheet.cs
- DbSource.cs
- MediaPlayerState.cs
- WebResponse.cs
- DoubleAnimation.cs
- XmlDataContract.cs
- ColorTransformHelper.cs
- ExceptionHandlersDesigner.cs
- MimeTypeMapper.cs
- TextParagraphView.cs
- CustomAssemblyResolver.cs
- TextBoxLine.cs
- OptimizedTemplateContent.cs
- XslCompiledTransform.cs
- InputScope.cs
- CompModSwitches.cs
- AnimatedTypeHelpers.cs
- InkPresenterAutomationPeer.cs
- AuthenticationSchemesHelper.cs
- RequestCachingSection.cs
- PersonalizationProviderCollection.cs
- LocalFileSettingsProvider.cs
- ReadWriteObjectLock.cs
- GPPOINT.cs
- Region.cs
- LogLogRecordHeader.cs
- UserInitiatedNavigationPermission.cs
- ContextInformation.cs
- DiscriminatorMap.cs
- BoundConstants.cs
- NTAccount.cs
- RuleAction.cs
- UndoManager.cs
- ReturnEventArgs.cs
- validation.cs
- SmiTypedGetterSetter.cs
- XmlILConstructAnalyzer.cs
- RegisteredExpandoAttribute.cs
- BitmapMetadata.cs
- BindingRestrictions.cs
- DoubleUtil.cs
- SystemIPInterfaceStatistics.cs
- DataTableReader.cs
- DependencyPropertyConverter.cs
- InterleavedZipPartStream.cs
- IERequestCache.cs
- LinearQuaternionKeyFrame.cs
- Page.cs
- EntitySetBase.cs
- FormClosedEvent.cs
- CaseInsensitiveOrdinalStringComparer.cs
- WpfXamlMember.cs
- TextBlockAutomationPeer.cs
- FontFamilyConverter.cs
- XmlNamedNodeMap.cs
- FormViewInsertEventArgs.cs
- ImportContext.cs
- LinqDataSource.cs
- TextPenaltyModule.cs
- WebBrowserUriTypeConverter.cs
- DefaultObjectMappingItemCollection.cs
- VariableBinder.cs
- SQLDateTimeStorage.cs
- PeerNameRegistration.cs
- InvalidDataException.cs
- sqlmetadatafactory.cs
- HTMLTextWriter.cs
- SessionStateSection.cs
- PriorityItem.cs
- RankException.cs
- InternalsVisibleToAttribute.cs
- FacetDescription.cs
- Timer.cs
- ResourceLoader.cs
- Library.cs
- HttpFileCollection.cs
- DataRowExtensions.cs
- SelectedPathEditor.cs
- altserialization.cs
- ListSurrogate.cs
- ObjectViewFactory.cs
- ByteAnimation.cs
- PtsContext.cs
- AppDomain.cs
- RelationshipDetailsCollection.cs
- ActivityDesigner.cs
- FormsAuthenticationConfiguration.cs
- XmlSchemaImporter.cs
- ProviderSettingsCollection.cs