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
- Symbol.cs
- DesignerLinkAdapter.cs
- DocumentOrderComparer.cs
- Visitor.cs
- OpCopier.cs
- BackStopAuthenticationModule.cs
- JournalEntryListConverter.cs
- DataObject.cs
- TextServicesContext.cs
- ThreadAttributes.cs
- NativeRightsManagementAPIsStructures.cs
- PrintingPermissionAttribute.cs
- DurationConverter.cs
- Size.cs
- BridgeDataReader.cs
- WebPartVerbCollection.cs
- ElementAction.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- ReadOnlyCollection.cs
- SafeNativeMethods.cs
- Clock.cs
- TagPrefixAttribute.cs
- CompositionTarget.cs
- NamedPipeAppDomainProtocolHandler.cs
- SingleKeyFrameCollection.cs
- WebSysDisplayNameAttribute.cs
- HttpPostClientProtocol.cs
- FileDialog.cs
- ComponentConverter.cs
- SelectionUIHandler.cs
- DataGridViewRowsAddedEventArgs.cs
- JulianCalendar.cs
- IODescriptionAttribute.cs
- ReferencedAssemblyResolver.cs
- ZipIOLocalFileDataDescriptor.cs
- DriveNotFoundException.cs
- Compress.cs
- PathHelper.cs
- DataGridViewHeaderCell.cs
- BindingExpression.cs
- XmlAnyElementAttribute.cs
- JsonDeserializer.cs
- HtmlTitle.cs
- AuthenticationModulesSection.cs
- MachineKeyConverter.cs
- PropertyEntry.cs
- ReferenceService.cs
- FontNamesConverter.cs
- RemoteTokenFactory.cs
- WeakHashtable.cs
- IndentedWriter.cs
- FixUpCollection.cs
- Rect.cs
- externdll.cs
- DataGridViewRowPrePaintEventArgs.cs
- ColorMap.cs
- HttpValueCollection.cs
- Set.cs
- DataGridViewTopLeftHeaderCell.cs
- BamlStream.cs
- ControlParameter.cs
- TransactionChannelFaultConverter.cs
- FlowDocumentPaginator.cs
- PostBackOptions.cs
- ColumnMapCopier.cs
- DbConnectionHelper.cs
- ResourcePermissionBaseEntry.cs
- XmlSchemaImport.cs
- IPHostEntry.cs
- LogExtent.cs
- ExpressionCopier.cs
- BeginStoryboard.cs
- WindowsSolidBrush.cs
- SafeArrayRankMismatchException.cs
- PositiveTimeSpanValidator.cs
- OleDbConnection.cs
- ResourceReferenceExpressionConverter.cs
- ConnectionPointCookie.cs
- MaskInputRejectedEventArgs.cs
- MessageDroppedTraceRecord.cs
- Ipv6Element.cs
- EventLogPermissionEntry.cs
- DropShadowBitmapEffect.cs
- DocumentOrderQuery.cs
- Duration.cs
- FastPropertyAccessor.cs
- LoadedEvent.cs
- DetailsView.cs
- EmbeddedMailObject.cs
- StructuralType.cs
- ChannelSinkStacks.cs
- TextRangeEditLists.cs
- ConfigurationSectionCollection.cs
- RootBrowserWindow.cs
- ControlValuePropertyAttribute.cs
- PingOptions.cs
- ListControl.cs
- SeverityFilter.cs
- SqlTriggerAttribute.cs
- WorkflowOperationAsyncResult.cs