Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XXXInfos.cs
- WeakReferenceKey.cs
- ProcessModuleCollection.cs
- SortedSet.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- PolicyStatement.cs
- TreeBuilderXamlTranslator.cs
- VoiceObjectToken.cs
- PropertyTab.cs
- UIServiceHelper.cs
- TextParagraph.cs
- ValidationPropertyAttribute.cs
- PriorityBinding.cs
- Util.cs
- QueryRewriter.cs
- UxThemeWrapper.cs
- FilterQueryOptionExpression.cs
- CheckBoxList.cs
- DynamicPhysicalDiscoSearcher.cs
- UserControlCodeDomTreeGenerator.cs
- QilList.cs
- RegexTypeEditor.cs
- FormViewPagerRow.cs
- IOException.cs
- SerializableAttribute.cs
- PenCursorManager.cs
- EditorZone.cs
- WSHttpBindingBaseElement.cs
- StringAnimationUsingKeyFrames.cs
- UnknownExceptionActionHelper.cs
- StoreItemCollection.Loader.cs
- MsmqIntegrationSecurityMode.cs
- OleDbConnection.cs
- PanelDesigner.cs
- FormsAuthenticationEventArgs.cs
- Switch.cs
- DictionaryBase.cs
- ParserHooks.cs
- DataGridViewColumnTypeEditor.cs
- SafeFreeMibTable.cs
- HtmlButton.cs
- RsaSecurityTokenAuthenticator.cs
- EventProviderClassic.cs
- ImageCodecInfoPrivate.cs
- DataGridRow.cs
- XmlWrappingWriter.cs
- SQLDateTimeStorage.cs
- UriExt.cs
- SelectionHighlightInfo.cs
- GraphicsPathIterator.cs
- CodeRegionDirective.cs
- Win32Exception.cs
- TextProviderWrapper.cs
- FamilyMapCollection.cs
- SqlProfileProvider.cs
- CacheAxisQuery.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ForEach.cs
- BrowserCapabilitiesCompiler.cs
- Attributes.cs
- sqlpipe.cs
- DrawingDrawingContext.cs
- DataGrid.cs
- DataGridViewColumnCollection.cs
- ReferenceService.cs
- ServiceReference.cs
- SqlNotificationRequest.cs
- Configuration.cs
- CommandHelpers.cs
- ReadOnlyDataSourceView.cs
- OutputScopeManager.cs
- UniqueConstraint.cs
- ClientEventManager.cs
- GetCertificateRequest.cs
- EditorPartCollection.cs
- SerializationSectionGroup.cs
- SchemaCollectionPreprocessor.cs
- Marshal.cs
- HttpModulesSection.cs
- _Win32.cs
- TemplatePropertyEntry.cs
- SubpageParagraph.cs
- RightsManagementEncryptedStream.cs
- OdbcConnectionHandle.cs
- SendKeys.cs
- MultipleViewPatternIdentifiers.cs
- TextRangeEdit.cs
- SqlWorkflowPersistenceService.cs
- ReadOnlyHierarchicalDataSourceView.cs
- XmlDictionaryWriter.cs
- SystemColorTracker.cs
- ListBindingConverter.cs
- SpecialFolderEnumConverter.cs
- XmlArrayAttribute.cs
- DataColumnMapping.cs
- RegistrationServices.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- TreeWalker.cs
- NonVisualControlAttribute.cs
- TreeViewBindingsEditor.cs