Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MultiByteCodec.cs
- _ProxyChain.cs
- EditorServiceContext.cs
- DataView.cs
- AtomServiceDocumentSerializer.cs
- DocumentPageTextView.cs
- LogPolicy.cs
- FontWeight.cs
- ThumbButtonInfo.cs
- HtmlDocument.cs
- DirectoryGroupQuery.cs
- XpsResourcePolicy.cs
- Misc.cs
- RSACryptoServiceProvider.cs
- NumericUpDownAccelerationCollection.cs
- LongValidator.cs
- CellRelation.cs
- LinkedResource.cs
- FtpWebResponse.cs
- ComponentDispatcherThread.cs
- ContractUtils.cs
- BitmapEffectDrawingContextState.cs
- DataList.cs
- util.cs
- DecodeHelper.cs
- EmptyEnumerable.cs
- SignedXml.cs
- RequestCachePolicy.cs
- CancelEventArgs.cs
- ColumnResizeAdorner.cs
- WebConfigurationFileMap.cs
- RegistryDataKey.cs
- CommandBinding.cs
- StorageSetMapping.cs
- ErasingStroke.cs
- ScriptResourceInfo.cs
- EventLogHandle.cs
- Point3DConverter.cs
- ImageListUtils.cs
- FixedBufferAttribute.cs
- ReachFixedDocumentSerializerAsync.cs
- StrongNameIdentityPermission.cs
- DataControlLinkButton.cs
- CompensatableSequenceActivity.cs
- AnnotationComponentChooser.cs
- SqlRetyper.cs
- NativeBuffer.cs
- MergeLocalizationDirectives.cs
- Frame.cs
- SqlRetyper.cs
- CodeIdentifier.cs
- ServiceInfoCollection.cs
- DataSourceXmlSubItemAttribute.cs
- TypeDescriptor.cs
- ZipPackage.cs
- MarshalByRefObject.cs
- SQlBooleanStorage.cs
- NumericPagerField.cs
- EnumerableRowCollectionExtensions.cs
- diagnosticsswitches.cs
- SrgsElementList.cs
- DataGridSortCommandEventArgs.cs
- XpsFontSerializationService.cs
- WebPartsPersonalization.cs
- TiffBitmapEncoder.cs
- GradientBrush.cs
- ListDictionaryInternal.cs
- FormViewPageEventArgs.cs
- RegexTree.cs
- EpmTargetPathSegment.cs
- XhtmlTextWriter.cs
- HierarchicalDataBoundControlAdapter.cs
- DatePickerDateValidationErrorEventArgs.cs
- StagingAreaInputItem.cs
- FileVersionInfo.cs
- ActionFrame.cs
- ReadOnlyPropertyMetadata.cs
- DBSchemaRow.cs
- CompiledXpathExpr.cs
- StylusOverProperty.cs
- BamlLocalizableResourceKey.cs
- coordinatorscratchpad.cs
- IdnMapping.cs
- JsonReader.cs
- Overlapped.cs
- PropertyConverter.cs
- InvalidateEvent.cs
- Int16Converter.cs
- DataGridHeaderBorder.cs
- FormViewDeleteEventArgs.cs
- StringDictionary.cs
- CustomAttributeBuilder.cs
- KernelTypeValidation.cs
- RolePrincipal.cs
- Parser.cs
- UpdateCommand.cs
- TimeStampChecker.cs
- PtsCache.cs
- URLString.cs
- WinEventHandler.cs