Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- JavaScriptObjectDeserializer.cs
- KnownIds.cs
- RuleSetCollection.cs
- TypedReference.cs
- BackStopAuthenticationModule.cs
- CookieProtection.cs
- ListItem.cs
- BooleanConverter.cs
- CodeTypeOfExpression.cs
- GuidTagList.cs
- WorkflowRuntimeServiceElementCollection.cs
- CodeActivityMetadata.cs
- XmlElementAttribute.cs
- XPathDocument.cs
- TextFindEngine.cs
- MenuItemBinding.cs
- RoutedCommand.cs
- BamlTreeMap.cs
- ComboBox.cs
- TreeViewItemAutomationPeer.cs
- XmlSchemaRedefine.cs
- TableRowCollection.cs
- xmlglyphRunInfo.cs
- ZipIOLocalFileBlock.cs
- DataGridCell.cs
- PartialArray.cs
- WebFormsRootDesigner.cs
- PropertySourceInfo.cs
- SqlDependencyUtils.cs
- ParameterRefs.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Decimal.cs
- JoinQueryOperator.cs
- ColumnResult.cs
- SmtpTransport.cs
- initElementDictionary.cs
- SafeNativeMethods.cs
- CompilerGlobalScopeAttribute.cs
- InheritanceContextChangedEventManager.cs
- XPathSingletonIterator.cs
- AsyncCompletedEventArgs.cs
- WebServiceHandlerFactory.cs
- TextContainerChangedEventArgs.cs
- NullRuntimeConfig.cs
- SingletonConnectionReader.cs
- DataGridViewEditingControlShowingEventArgs.cs
- FormatException.cs
- WebBodyFormatMessageProperty.cs
- NonClientArea.cs
- NullReferenceException.cs
- ScrollChrome.cs
- SpellerStatusTable.cs
- UnitySerializationHolder.cs
- AspNetSynchronizationContext.cs
- Encoder.cs
- XmlWriterDelegator.cs
- HttpHeaderCollection.cs
- QualificationDataItem.cs
- Application.cs
- CodeCommentStatement.cs
- NamedPipeProcessProtocolHandler.cs
- uribuilder.cs
- RootBrowserWindow.cs
- DebugInfoExpression.cs
- LinqDataSourceHelper.cs
- LinearGradientBrush.cs
- HtmlElementErrorEventArgs.cs
- BlockUIContainer.cs
- QueryProcessor.cs
- FrameworkElementFactory.cs
- ReflectionHelper.cs
- OdbcFactory.cs
- SizeKeyFrameCollection.cs
- OpenTypeLayout.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- FieldTemplateUserControl.cs
- PersonalizationProviderHelper.cs
- Exceptions.cs
- MachineKeyValidationConverter.cs
- LogicalTreeHelper.cs
- WorkflowFormatterBehavior.cs
- SqlDataSourceCustomCommandPanel.cs
- DisableDpiAwarenessAttribute.cs
- MouseGestureValueSerializer.cs
- MessagingDescriptionAttribute.cs
- StrongNameHelpers.cs
- StoreItemCollection.cs
- RefreshPropertiesAttribute.cs
- Queue.cs
- ExpandedProjectionNode.cs
- PointAnimationUsingKeyFrames.cs
- ValidationSummary.cs
- IPAddressCollection.cs
- DataServices.cs
- securestring.cs
- QueryGenerator.cs
- Comparer.cs
- QuaternionAnimation.cs
- CrossContextChannel.cs
- MaterialGroup.cs