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
- SolidColorBrush.cs
- ReadOnlyTernaryTree.cs
- ReceiveActivityDesignerTheme.cs
- SettingsBindableAttribute.cs
- DictionaryEntry.cs
- baseshape.cs
- XmlSchemaValidationException.cs
- XMLDiffLoader.cs
- TiffBitmapDecoder.cs
- NonBatchDirectoryCompiler.cs
- ACE.cs
- XmlSiteMapProvider.cs
- DateTimeConstantAttribute.cs
- Sequence.cs
- CellCreator.cs
- RadioButtonAutomationPeer.cs
- OleDbPropertySetGuid.cs
- ScriptingRoleServiceSection.cs
- ChameleonKey.cs
- ColorAnimation.cs
- ClientConfigurationHost.cs
- SqlProfileProvider.cs
- FrameworkObject.cs
- CqlGenerator.cs
- FileChangesMonitor.cs
- CngAlgorithm.cs
- Journaling.cs
- OutputCacheModule.cs
- TextEditorSpelling.cs
- DataControlFieldsEditor.cs
- EventSetter.cs
- XmlQualifiedName.cs
- DbDeleteCommandTree.cs
- ContextDataSourceContextData.cs
- TreeIterator.cs
- EventMetadata.cs
- SchemaAttDef.cs
- BezierSegment.cs
- Help.cs
- DocumentViewer.cs
- CommonBehaviorsSection.cs
- RtType.cs
- LightweightCodeGenerator.cs
- DataKey.cs
- CompoundFileDeflateTransform.cs
- CollaborationHelperFunctions.cs
- HitTestParameters.cs
- shaperfactory.cs
- DocumentViewerBase.cs
- Queue.cs
- StringArrayConverter.cs
- HttpFileCollectionWrapper.cs
- RemoteWebConfigurationHost.cs
- FragmentQueryProcessor.cs
- WebBrowsableAttribute.cs
- Rectangle.cs
- ListBoxItemWrapperAutomationPeer.cs
- RangeValuePatternIdentifiers.cs
- LambdaCompiler.Address.cs
- InputLangChangeEvent.cs
- HttpWebResponse.cs
- MimeMapping.cs
- SqlClientWrapperSmiStreamChars.cs
- CodePropertyReferenceExpression.cs
- Script.cs
- TypedTableGenerator.cs
- CatalogPart.cs
- RemoteArgument.cs
- StyleCollection.cs
- InputQueueChannelAcceptor.cs
- Rijndael.cs
- XmlWriterSettings.cs
- Merger.cs
- BufferedGraphicsManager.cs
- ObjectDataSourceFilteringEventArgs.cs
- Dictionary.cs
- CodeThrowExceptionStatement.cs
- PropertyIDSet.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ListViewItemSelectionChangedEvent.cs
- Point3DCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- ManipulationVelocities.cs
- VirtualDirectoryMappingCollection.cs
- EventRouteFactory.cs
- Util.cs
- TdsParserSessionPool.cs
- SafeNativeMethods.cs
- ByteFacetDescriptionElement.cs
- ipaddressinformationcollection.cs
- WorkflowWebService.cs
- EntityTypeBase.cs
- exports.cs
- ToolStripContentPanel.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- XmlName.cs
- RightsManagementEncryptedStream.cs
- DataGridTablesFactory.cs
- TemplateKey.cs