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
- BaseCodeDomTreeGenerator.cs
- TypefaceCollection.cs
- Journaling.cs
- filewebresponse.cs
- EnumUnknown.cs
- ControlUtil.cs
- RegexInterpreter.cs
- ThicknessAnimationUsingKeyFrames.cs
- ManipulationDeltaEventArgs.cs
- Zone.cs
- NativeCppClassAttribute.cs
- Internal.cs
- DataViewSetting.cs
- BorderSidesEditor.cs
- DateTimeConverter.cs
- ElementProxy.cs
- AutomationAttributeInfo.cs
- SurrogateSelector.cs
- InternalResources.cs
- XamlRtfConverter.cs
- EdmTypeAttribute.cs
- EventTrigger.cs
- UTF8Encoding.cs
- CssTextWriter.cs
- WebPartActionVerb.cs
- TreeView.cs
- TypeEnumerableViewSchema.cs
- MulticastDelegate.cs
- ObjectDataSourceChooseMethodsPanel.cs
- DateTimeFormat.cs
- ChangeInterceptorAttribute.cs
- xmlglyphRunInfo.cs
- __Error.cs
- NavigationWindow.cs
- RichTextBox.cs
- ReflectionServiceProvider.cs
- GroupItem.cs
- TraceSource.cs
- SortAction.cs
- AssemblyFilter.cs
- ObjectCache.cs
- CatalogPartDesigner.cs
- ComboBoxItem.cs
- EnvelopedPkcs7.cs
- XPathPatternBuilder.cs
- PrimaryKeyTypeConverter.cs
- ClassDataContract.cs
- DocumentOrderQuery.cs
- AxDesigner.cs
- RestHandler.cs
- DockPanel.cs
- ACL.cs
- DrawingBrush.cs
- GC.cs
- SystemPens.cs
- DynamicPhysicalDiscoSearcher.cs
- XmlWriterTraceListener.cs
- AsymmetricKeyExchangeFormatter.cs
- ByValueEqualityComparer.cs
- UrlParameterReader.cs
- RouteItem.cs
- DataSourceConverter.cs
- DesignerHost.cs
- TextTrailingCharacterEllipsis.cs
- StringInfo.cs
- HostVisual.cs
- HashCodeCombiner.cs
- SqlUtil.cs
- Rules.cs
- ResourceWriter.cs
- CompiledIdentityConstraint.cs
- XmlNodeList.cs
- QueryCreatedEventArgs.cs
- AQNBuilder.cs
- TrackBarRenderer.cs
- AuthenticationSection.cs
- GetLastErrorDetailsRequest.cs
- DTCTransactionManager.cs
- TextBoxLine.cs
- UserNamePasswordValidator.cs
- Propagator.cs
- DependencyPropertyKey.cs
- ObjectConverter.cs
- StorageEndPropertyMapping.cs
- ProxyGenerator.cs
- ComplexBindingPropertiesAttribute.cs
- ClientConfigPaths.cs
- LinearKeyFrames.cs
- PermissionListSet.cs
- StringConcat.cs
- EncoderParameter.cs
- Transform.cs
- cache.cs
- HtmlTableCell.cs
- IBuiltInEvidence.cs
- XPathDocumentNavigator.cs
- FixUpCollection.cs
- LayoutEditorPart.cs
- SqlOuterApplyReducer.cs
- FixedStringLookup.cs