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
- XmlBinaryWriterSession.cs
- ApplicationContext.cs
- AnnotationComponentManager.cs
- DoubleAnimationBase.cs
- ToolStripRenderEventArgs.cs
- ImportException.cs
- ToolStripButton.cs
- XmlReaderSettings.cs
- OrderablePartitioner.cs
- IIS7WorkerRequest.cs
- HttpModuleAction.cs
- LabelEditEvent.cs
- ButtonBase.cs
- ModelTreeManager.cs
- ControlIdConverter.cs
- PngBitmapDecoder.cs
- ElementNotEnabledException.cs
- Identity.cs
- DataGridViewLayoutData.cs
- AuthorizationRule.cs
- SspiWrapper.cs
- _LoggingObject.cs
- CodeMethodReturnStatement.cs
- TreeNodeCollection.cs
- ProjectionAnalyzer.cs
- TypeValidationEventArgs.cs
- AccessViolationException.cs
- FontUnitConverter.cs
- EventLogEntry.cs
- SemanticValue.cs
- FixUpCollection.cs
- StackOverflowException.cs
- RIPEMD160.cs
- WebHttpSecurityElement.cs
- TcpConnectionPoolSettings.cs
- CommentGlyph.cs
- ColumnMap.cs
- FreezableOperations.cs
- ItemContainerPattern.cs
- ModuleBuilder.cs
- MdiWindowListItemConverter.cs
- ServicePointManagerElement.cs
- ErrorStyle.cs
- BinaryUtilClasses.cs
- FolderNameEditor.cs
- SortExpressionBuilder.cs
- BaseValidator.cs
- EntityDataSourceWrapper.cs
- FlowStep.cs
- PropertySet.cs
- DataTransferEventArgs.cs
- SocketPermission.cs
- WebBrowserUriTypeConverter.cs
- XmlSchemaException.cs
- WebPartDisplayModeCollection.cs
- EventLogRecord.cs
- BitmapDecoder.cs
- BitmapImage.cs
- TextTreeFixupNode.cs
- ReadWriteSpinLock.cs
- ReflectionHelper.cs
- CollectionCodeDomSerializer.cs
- AspNetCompatibilityRequirementsMode.cs
- BamlRecords.cs
- ConfigPathUtility.cs
- SiteMapPath.cs
- TcpWorkerProcess.cs
- ApplicationServiceManager.cs
- WindowsListViewGroupSubsetLink.cs
- TemplateEditingService.cs
- Metafile.cs
- HandleCollector.cs
- CurrentChangedEventManager.cs
- WebPartEditVerb.cs
- MetadataCacheItem.cs
- DataGridViewColumnCollection.cs
- TextBox.cs
- FlowNode.cs
- DebuggerService.cs
- JavaScriptString.cs
- TreeIterators.cs
- ScrollPattern.cs
- FileDetails.cs
- SafeHandles.cs
- Connection.cs
- DropDownButton.cs
- CatchBlock.cs
- XmlSchemaSubstitutionGroup.cs
- KeyFrames.cs
- VoiceChangeEventArgs.cs
- WebPartUserCapability.cs
- HtmlEncodedRawTextWriter.cs
- DataGridBoolColumn.cs
- Input.cs
- SafeEventLogWriteHandle.cs
- LinkTarget.cs
- DesignerSerializationManager.cs
- Atom10FormatterFactory.cs
- StateMachineAction.cs
- ItemAutomationPeer.cs