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
- Binding.cs
- HostSecurityManager.cs
- AlignmentXValidation.cs
- WsdlWriter.cs
- OneOfScalarConst.cs
- PackWebRequestFactory.cs
- FileChangesMonitor.cs
- PlanCompiler.cs
- RowParagraph.cs
- WindowsListViewItemCheckBox.cs
- ConfigXmlCDataSection.cs
- GridViewSelectEventArgs.cs
- EncryptedPackageFilter.cs
- TablePatternIdentifiers.cs
- UserMapPath.cs
- TableLayoutColumnStyleCollection.cs
- TemplateBindingExpression.cs
- CriticalFinalizerObject.cs
- BitmapMetadataBlob.cs
- DeclarativeCatalogPart.cs
- CompilationRelaxations.cs
- SqlCommandBuilder.cs
- TextTreeInsertUndoUnit.cs
- SqlRewriteScalarSubqueries.cs
- SevenBitStream.cs
- XhtmlTextWriter.cs
- SmtpAuthenticationManager.cs
- SimpleHandlerBuildProvider.cs
- PermissionSet.cs
- BuildProvidersCompiler.cs
- ConfigurationValue.cs
- DynamicRenderer.cs
- TabControlToolboxItem.cs
- StateMachine.cs
- WebPartVerbCollection.cs
- TextFormatter.cs
- InputElement.cs
- DataViewManager.cs
- WebSysDefaultValueAttribute.cs
- SystemWebSectionGroup.cs
- DayRenderEvent.cs
- VideoDrawing.cs
- ITreeGenerator.cs
- BindingSourceDesigner.cs
- WebServiceErrorEvent.cs
- RoleService.cs
- Journal.cs
- CookieHandler.cs
- TraceEventCache.cs
- CodeEntryPointMethod.cs
- SchemaTypeEmitter.cs
- WmlCalendarAdapter.cs
- Tracking.cs
- BitConverter.cs
- XmlSchemaElement.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SqlSelectStatement.cs
- IPPacketInformation.cs
- ExternalCalls.cs
- SingleSelectRootGridEntry.cs
- ExtensionQuery.cs
- isolationinterop.cs
- TraceContextRecord.cs
- SingleObjectCollection.cs
- JobPageOrder.cs
- Odbc32.cs
- SourceLocation.cs
- Byte.cs
- SingleStorage.cs
- HierarchicalDataSourceConverter.cs
- DataGridViewSelectedColumnCollection.cs
- ValidationError.cs
- EntityDataSourceChangedEventArgs.cs
- IISUnsafeMethods.cs
- ExecutedRoutedEventArgs.cs
- RootBuilder.cs
- XamlTemplateSerializer.cs
- XmlSchemaDatatype.cs
- coordinatorscratchpad.cs
- UpdateExpressionVisitor.cs
- JumpTask.cs
- SystemWebExtensionsSectionGroup.cs
- XmlTextAttribute.cs
- SID.cs
- Dump.cs
- MeasureItemEvent.cs
- FormatConvertedBitmap.cs
- ProtocolInformationReader.cs
- PathGeometry.cs
- DataTableNewRowEvent.cs
- HtmlTableCellCollection.cs
- HierarchicalDataTemplate.cs
- MultiPropertyDescriptorGridEntry.cs
- FormViewModeEventArgs.cs
- SafeJobHandle.cs
- ManagementClass.cs
- OutgoingWebRequestContext.cs
- SmiRecordBuffer.cs
- SemanticBasicElement.cs
- DiscoveryDocumentLinksPattern.cs