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
- FixedBufferAttribute.cs
- PageVisual.cs
- EntityDataSourceWrapper.cs
- GenericTextProperties.cs
- ToolStripManager.cs
- CodeFieldReferenceExpression.cs
- MailAddress.cs
- InternalRelationshipCollection.cs
- CriticalExceptions.cs
- AdministrationHelpers.cs
- DisplayNameAttribute.cs
- ToolboxComponentsCreatingEventArgs.cs
- Validator.cs
- DependentTransaction.cs
- ImageBrush.cs
- HashJoinQueryOperatorEnumerator.cs
- SizeAnimationUsingKeyFrames.cs
- OSFeature.cs
- HwndHost.cs
- SafeNativeMethods.cs
- DataGridViewCellValidatingEventArgs.cs
- IconBitmapDecoder.cs
- SendMessageContent.cs
- UnauthorizedWebPart.cs
- Int16Storage.cs
- Baml2006KeyRecord.cs
- PackageFilter.cs
- remotingproxy.cs
- Hash.cs
- DataSourceXmlClassAttribute.cs
- SizeF.cs
- BamlMapTable.cs
- XmlDataProvider.cs
- brushes.cs
- ShapingEngine.cs
- ListBoxItem.cs
- AccessDataSource.cs
- BuildResult.cs
- SystemDiagnosticsSection.cs
- PrtTicket_Base.cs
- MoveSizeWinEventHandler.cs
- Metafile.cs
- MessagePropertyDescription.cs
- DataGridViewHitTestInfo.cs
- CredentialManagerDialog.cs
- ProfileManager.cs
- ConfigurationProperty.cs
- WebResponse.cs
- Win32.cs
- FixedTextPointer.cs
- NullableIntAverageAggregationOperator.cs
- EventItfInfo.cs
- URI.cs
- DrawingBrush.cs
- Attributes.cs
- MemoryFailPoint.cs
- BindableTemplateBuilder.cs
- CompilationRelaxations.cs
- GraphicsPathIterator.cs
- DbProviderConfigurationHandler.cs
- LocalizeDesigner.cs
- MouseWheelEventArgs.cs
- ColorTypeConverter.cs
- MailAddress.cs
- XmlName.cs
- ViewCellRelation.cs
- FactoryRecord.cs
- DbProviderSpecificTypePropertyAttribute.cs
- Application.cs
- AlphabeticalEnumConverter.cs
- DiscoveryOperationContextExtension.cs
- ButtonBase.cs
- Parsers.cs
- RadioButtonList.cs
- TrackingMemoryStreamFactory.cs
- UInt64.cs
- MailDefinition.cs
- sqlinternaltransaction.cs
- TimeSpanValidator.cs
- UriParserTemplates.cs
- TCEAdapterGenerator.cs
- TextDecorationLocationValidation.cs
- Run.cs
- FieldToken.cs
- ResourceDisplayNameAttribute.cs
- RuntimeWrappedException.cs
- TempFiles.cs
- DataKey.cs
- ValidationVisibilityAttribute.cs
- UInt16.cs
- XmlSchemaImporter.cs
- XmlSchemaExporter.cs
- HtmlInputRadioButton.cs
- EmbeddedObject.cs
- bidPrivateBase.cs
- CodeAccessPermission.cs
- SwitchLevelAttribute.cs
- IndexedGlyphRun.cs
- CompilationUtil.cs
- ImageMapEventArgs.cs