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
- DataServiceRequestOfT.cs
- DataFieldCollectionEditor.cs
- TemplateXamlParser.cs
- MsmqAppDomainProtocolHandler.cs
- RegexTree.cs
- GenericXmlSecurityToken.cs
- RenderData.cs
- ApplyTemplatesAction.cs
- RealizedColumnsBlock.cs
- SqlFunctionAttribute.cs
- XmlSchemaAnyAttribute.cs
- MetadataImporterQuotas.cs
- SparseMemoryStream.cs
- DBPropSet.cs
- XPathPatternParser.cs
- RequestQueue.cs
- TemplateBindingExtensionConverter.cs
- SubqueryRules.cs
- DbConnectionClosed.cs
- PersonalizationProvider.cs
- CacheAxisQuery.cs
- HwndTarget.cs
- PatternMatcher.cs
- WinInet.cs
- SingleAnimationUsingKeyFrames.cs
- ExtensionWindow.cs
- SpellerStatusTable.cs
- NullableFloatSumAggregationOperator.cs
- SqlComparer.cs
- DataGridColumnCollectionEditor.cs
- PropertyGridView.cs
- _NegoState.cs
- JapaneseLunisolarCalendar.cs
- NodeInfo.cs
- PipelineModuleStepContainer.cs
- AddToCollection.cs
- MenuItemAutomationPeer.cs
- TimerTable.cs
- AssignDesigner.xaml.cs
- AttributeCollection.cs
- DynamicRenderer.cs
- ReferenceService.cs
- AttributeQuery.cs
- TextTreeTextNode.cs
- PackageDigitalSignature.cs
- AsnEncodedData.cs
- GeometryGroup.cs
- PersonalizationStateQuery.cs
- DefaultHttpHandler.cs
- PriorityBindingExpression.cs
- controlskin.cs
- CodeEventReferenceExpression.cs
- PrefixQName.cs
- ImplicitInputBrush.cs
- FocusTracker.cs
- EntitySqlQueryCacheKey.cs
- VectorCollectionConverter.cs
- PointAnimation.cs
- SafeLibraryHandle.cs
- Compensate.cs
- WsiProfilesElement.cs
- fixedPageContentExtractor.cs
- UnsafeNativeMethodsPenimc.cs
- ResolveNameEventArgs.cs
- DataFormat.cs
- InputEventArgs.cs
- SmiEventStream.cs
- Parser.cs
- CellLabel.cs
- CredentialCache.cs
- DiscreteKeyFrames.cs
- StylusPlugInCollection.cs
- Separator.cs
- LogEntrySerializationException.cs
- WeakKeyDictionary.cs
- ColorConvertedBitmap.cs
- CodeSubDirectory.cs
- CqlParserHelpers.cs
- CommandValueSerializer.cs
- QualifiedCellIdBoolean.cs
- LogLogRecord.cs
- PropertySegmentSerializationProvider.cs
- BoolLiteral.cs
- SettingsProviderCollection.cs
- SetStoryboardSpeedRatio.cs
- StickyNoteContentControl.cs
- XmlMembersMapping.cs
- JoinElimination.cs
- FontDriver.cs
- WorkflowRuntime.cs
- IBuiltInEvidence.cs
- XmlSchemaImport.cs
- ObjectStateEntry.cs
- PolicyFactory.cs
- OutputCacheSection.cs
- ProfileGroupSettings.cs
- XmlDocumentType.cs
- HttpWebRequestElement.cs
- OpenTypeLayoutCache.cs
- EntryWrittenEventArgs.cs