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
- WebPartAddingEventArgs.cs
- JsonSerializer.cs
- XmlWriterTraceListener.cs
- BypassElementCollection.cs
- ProviderSettingsCollection.cs
- HttpListener.cs
- XmlSchemaGroupRef.cs
- Misc.cs
- _DomainName.cs
- WebPartConnectionsDisconnectVerb.cs
- EmptyElement.cs
- SQLDecimal.cs
- WebSysDefaultValueAttribute.cs
- DecimalKeyFrameCollection.cs
- MediaElementAutomationPeer.cs
- ChineseLunisolarCalendar.cs
- ElementUtil.cs
- DeobfuscatingStream.cs
- ExpandSegment.cs
- XmlSortKey.cs
- DataPager.cs
- EntitySetDataBindingList.cs
- CodeTryCatchFinallyStatement.cs
- TearOffProxy.cs
- FixedBufferAttribute.cs
- TextTreePropertyUndoUnit.cs
- SingleSelectRootGridEntry.cs
- ComponentDispatcherThread.cs
- SettingsBindableAttribute.cs
- X509ChainElement.cs
- ReversePositionQuery.cs
- QualifierSet.cs
- XmlSchemaDocumentation.cs
- UnmanagedHandle.cs
- DelegatingConfigHost.cs
- OutOfProcStateClientManager.cs
- Array.cs
- ProfileBuildProvider.cs
- NumericUpDown.cs
- EventWaitHandleSecurity.cs
- LateBoundBitmapDecoder.cs
- ControlPropertyNameConverter.cs
- SchemaMerger.cs
- PasswordPropertyTextAttribute.cs
- Configuration.cs
- ActivityCodeDomSerializer.cs
- UndoManager.cs
- ChtmlLinkAdapter.cs
- UrlAuthorizationModule.cs
- XmlSchemaValidationException.cs
- TextBoxAutoCompleteSourceConverter.cs
- ExtendedPropertyInfo.cs
- SetterBaseCollection.cs
- SEHException.cs
- UrlMappingsModule.cs
- PackageDigitalSignature.cs
- webclient.cs
- CultureTableRecord.cs
- MenuItemCollection.cs
- FacetDescription.cs
- Regex.cs
- EntityDataSourceState.cs
- GPRECTF.cs
- URL.cs
- ObjectRef.cs
- KeyEvent.cs
- XmlDomTextWriter.cs
- httpstaticobjectscollection.cs
- DefaultTraceListener.cs
- DelegateBodyWriter.cs
- EdmMember.cs
- ObjectSet.cs
- XamlReaderHelper.cs
- PageContentAsyncResult.cs
- PropertyDescriptorCollection.cs
- SubclassTypeValidatorAttribute.cs
- AdapterUtil.cs
- TemplateControlParser.cs
- OdbcConnectionHandle.cs
- xmlNames.cs
- DSACryptoServiceProvider.cs
- OperationContractGenerationContext.cs
- CompiledIdentityConstraint.cs
- EntityModelBuildProvider.cs
- HtmlTableRowCollection.cs
- OpCodes.cs
- ClosureBinding.cs
- SurrogateSelector.cs
- GridSplitterAutomationPeer.cs
- AccessedThroughPropertyAttribute.cs
- ProgressChangedEventArgs.cs
- TextRangeEdit.cs
- BasicCellRelation.cs
- Html32TextWriter.cs
- SystemDiagnosticsSection.cs
- Attributes.cs
- ParserContext.cs
- BindingContext.cs
- Region.cs
- XmlChoiceIdentifierAttribute.cs