C# Class System.Net.Security.NegotiateStream

Inheritance: AuthenticatedStream
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AdjustInternalBufferOffsetSize void
DecrementInternalBufferCount void
EnsureInternalBufferSize void
InitializeStreamPart void
ProcessFrameBody int
ProcessRead int
ProcessWrite void
ReadCallback void
StartFrameBody int
StartFrameHeader int
StartReading int
StartWriting void
ValidateParameters void
WriteCallback void

Public Methods

Method Description
AuthenticateAsClient ( ) : void
AuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName ) : void
AuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
AuthenticateAsClient ( NetworkCredential credential, string targetName ) : void
AuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
AuthenticateAsClient ( System credential, System binding, string targetName ) : void
AuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
AuthenticateAsClient ( System credential, string targetName ) : void
AuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
AuthenticateAsClientAsync ( ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( NetworkCredential credential, System binding, string targetName ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( NetworkCredential credential, System binding, string targetName, ProtectionLevel requiredProtectionLevel, System allowedImpersonationLevel ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, System allowedImpersonationLevel ) : System.Threading.Tasks.Task
AuthenticateAsClientAsync ( ) : Task
AuthenticateAsClientAsync ( NetworkCredential credential, ChannelBinding binding, string targetName ) : Task
AuthenticateAsClientAsync ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : Task
AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
AuthenticateAsServer ( ) : void
AuthenticateAsServer ( ExtendedProtectionPolicy policy ) : void
AuthenticateAsServer ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
AuthenticateAsServer ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
AuthenticateAsServer ( System policy ) : void
AuthenticateAsServerAsync ( ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( System policy ) : System.Threading.Tasks.Task
AuthenticateAsServerAsync ( ) : Task
AuthenticateAsServerAsync ( ExtendedProtectionPolicy policy ) : Task
AuthenticateAsServerAsync ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel, System asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsClient ( System credential, System binding, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsClient ( System asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel, System asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsClient ( System credential, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( System credential, System policy, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( System credential, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : System.IAsyncResult
BeginAuthenticateAsServer ( System policy, System asyncCallback, object asyncState ) : System.IAsyncResult
BeginRead ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
EndAuthenticateAsClient ( System asyncResult ) : void
EndAuthenticateAsServer ( IAsyncResult asyncResult ) : void
EndAuthenticateAsServer ( System asyncResult ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
NegotiateStream ( System innerStream )
NegotiateStream ( System innerStream, bool leaveInnerStreamOpen )
NegotiateStream ( Stream innerStream ) : System.IO
NegotiateStream ( Stream innerStream, bool leaveInnerStreamOpen ) : System.IO
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
Seek ( long offset, System origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
AdjustInternalBufferOffsetSize ( int bytes, int offset ) : void
DecrementInternalBufferCount ( int decrCount ) : void
EnsureInternalBufferSize ( int bytes ) : void
InitializeStreamPart ( ) : void
ProcessFrameBody ( int readBytes, byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : int
ProcessRead ( byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : int
ProcessWrite ( byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : void
ReadCallback ( AsyncProtocolRequest asyncRequest ) : void
StartFrameBody ( int readBytes, byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : int
StartFrameHeader ( byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : int
StartReading ( byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : int
StartWriting ( byte buffer, int offset, int count, AsyncProtocolRequest asyncRequest ) : void
ValidateParameters ( byte buffer, int offset, int count ) : void
WriteCallback ( IAsyncResult transportResult ) : void

Method Details

AuthenticateAsClient() public method

public AuthenticateAsClient ( ) : void
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName ) : void
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( NetworkCredential credential, string targetName ) : void
credential NetworkCredential
targetName string
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( System credential, System binding, string targetName ) : void
credential System
binding System
targetName string
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
binding System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( System credential, string targetName ) : void
credential System
targetName string
return void

AuthenticateAsClient() public method

public AuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
return void

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, System binding, string targetName ) : System.Threading.Tasks.Task
credential NetworkCredential
binding System
targetName string
return System.Threading.Tasks.Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, System binding, string targetName, ProtectionLevel requiredProtectionLevel, System allowedImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
binding System
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel System
return System.Threading.Tasks.Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
credential NetworkCredential
targetName string
return System.Threading.Tasks.Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, System allowedImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel System
return System.Threading.Tasks.Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( ) : Task
return Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, ChannelBinding binding, string targetName ) : Task
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
return Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
return Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : Task
credential NetworkCredential
targetName string
return Task

AuthenticateAsClientAsync() public method

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
return Task

AuthenticateAsServer() public method

public AuthenticateAsServer ( ) : void
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( ExtendedProtectionPolicy policy ) : void
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
credential NetworkCredential
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
policy System
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
return void

AuthenticateAsServer() public method

public AuthenticateAsServer ( System policy ) : void
policy System
return void

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
return System.Threading.Tasks.Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
policy System
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
return System.Threading.Tasks.Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( System policy ) : System.Threading.Tasks.Task
policy System
return System.Threading.Tasks.Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( ) : Task
return Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( ExtendedProtectionPolicy policy ) : Task
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
return Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
credential NetworkCredential
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
return Task

AuthenticateAsServerAsync() public method

public AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
return Task

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
targetName string
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
binding System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
asyncCallback System
asyncState object
return System.IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( System credential, System binding, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
binding System
targetName string
asyncCallback System
asyncState object
return System.IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( System asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback System
asyncState object
return System.IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
asyncCallback System
asyncState object
return System.IAsyncResult

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( System credential, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
targetName string
asyncCallback System
asyncState object
return System.IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( System credential, System policy, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
credential System
policy System
requiredProtectionLevel System
requiredImpersonationLevel System
asyncCallback System
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( System credential, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
credential System
requiredProtectionLevel System
requiredImpersonationLevel System
asyncCallback System
asyncState object
return IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback AsyncCallback
asyncState object
return System.IAsyncResult

BeginAuthenticateAsServer() public method

public BeginAuthenticateAsServer ( System policy, System asyncCallback, object asyncState ) : System.IAsyncResult
policy System
asyncCallback System
asyncState object
return System.IAsyncResult

BeginRead() public method

public BeginRead ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
return IAsyncResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndAuthenticateAsClient() public method

public EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

EndAuthenticateAsClient() public method

public EndAuthenticateAsClient ( System asyncResult ) : void
asyncResult System
return void

EndAuthenticateAsServer() public method

public EndAuthenticateAsServer ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

EndAuthenticateAsServer() public method

public EndAuthenticateAsServer ( System asyncResult ) : void
asyncResult System
return void

EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

NegotiateStream() public method

public NegotiateStream ( System innerStream )
innerStream System

NegotiateStream() public method

public NegotiateStream ( System innerStream, bool leaveInnerStreamOpen )
innerStream System
leaveInnerStreamOpen bool

NegotiateStream() public method

public NegotiateStream ( Stream innerStream ) : System.IO
innerStream Stream
return System.IO

NegotiateStream() public method

public NegotiateStream ( Stream innerStream, bool leaveInnerStreamOpen ) : System.IO
innerStream Stream
leaveInnerStreamOpen bool
return System.IO

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadAsync() public method

public ReadAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task
buffer byte
offset int
size int
cancellationToken System.Threading.CancellationToken
return Task

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

Seek() public method

public Seek ( long offset, System origin ) : long
offset long
origin System
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task
buffer byte
offset int
size int
cancellationToken System.Threading.CancellationToken
return Task