C# Class System.Net.Security.NegotiateStream

Inheritance: AuthenticatedStream
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

public AuthenticateAsClient ( ) : void
Résultat void

AuthenticateAsClient() public méthode

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

AuthenticateAsClient() public méthode

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
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( NetworkCredential credential, string targetName ) : void
credential NetworkCredential
targetName string
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( System credential, System binding, string targetName ) : void
credential System
binding System
targetName string
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
binding System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( System credential, string targetName ) : void
credential System
targetName string
Résultat void

AuthenticateAsClient() public méthode

public AuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
Résultat void

AuthenticateAsClientAsync() public méthode

public AuthenticateAsClientAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

AuthenticateAsClientAsync() public méthode

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

AuthenticateAsClientAsync() public méthode

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
Résultat System.Threading.Tasks.Task

AuthenticateAsClientAsync() public méthode

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
credential NetworkCredential
targetName string
Résultat System.Threading.Tasks.Task

AuthenticateAsClientAsync() public méthode

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

AuthenticateAsClientAsync() public méthode

public AuthenticateAsClientAsync ( ) : Task
Résultat Task

AuthenticateAsClientAsync() public méthode

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

AuthenticateAsClientAsync() public méthode

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
Résultat Task

AuthenticateAsClientAsync() public méthode

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : Task
credential NetworkCredential
targetName string
Résultat Task

AuthenticateAsClientAsync() public méthode

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
Résultat Task

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( ) : void
Résultat void

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( ExtendedProtectionPolicy policy ) : void
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Résultat void

AuthenticateAsServer() public méthode

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

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Résultat void

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Résultat void

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
policy System
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Résultat void

AuthenticateAsServer() public méthode

public AuthenticateAsServer ( System policy ) : void
policy System
Résultat void

AuthenticateAsServerAsync() public méthode

public AuthenticateAsServerAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

AuthenticateAsServerAsync() public méthode

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

AuthenticateAsServerAsync() public méthode

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

AuthenticateAsServerAsync() public méthode

public AuthenticateAsServerAsync ( System policy ) : System.Threading.Tasks.Task
policy System
Résultat System.Threading.Tasks.Task

AuthenticateAsServerAsync() public méthode

public AuthenticateAsServerAsync ( ) : Task
Résultat Task

AuthenticateAsServerAsync() public méthode

public AuthenticateAsServerAsync ( ExtendedProtectionPolicy policy ) : Task
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Résultat Task

AuthenticateAsServerAsync() public méthode

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

AuthenticateAsServerAsync() public méthode

public AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Résultat Task

BeginAuthenticateAsClient() public méthode

public BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
Résultat IAsyncResult

BeginAuthenticateAsClient() public méthode

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
Résultat IAsyncResult

BeginAuthenticateAsClient() public méthode

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
Résultat IAsyncResult

BeginAuthenticateAsClient() public méthode

public BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
targetName string
asyncCallback AsyncCallback
asyncState object
Résultat IAsyncResult

BeginAuthenticateAsClient() public méthode

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
Résultat IAsyncResult

BeginAuthenticateAsClient() public méthode

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
Résultat System.IAsyncResult

BeginAuthenticateAsClient() public méthode

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

BeginAuthenticateAsClient() public méthode

public BeginAuthenticateAsClient ( System asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback System
asyncState object
Résultat System.IAsyncResult

BeginAuthenticateAsClient() public méthode

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
Résultat System.IAsyncResult

BeginAuthenticateAsClient() public méthode

public BeginAuthenticateAsClient ( System credential, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
targetName string
asyncCallback System
asyncState object
Résultat System.IAsyncResult

BeginAuthenticateAsServer() public méthode

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
Résultat IAsyncResult

BeginAuthenticateAsServer() public méthode

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

BeginAuthenticateAsServer() public méthode

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
Résultat IAsyncResult

BeginAuthenticateAsServer() public méthode

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

BeginAuthenticateAsServer() public méthode

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
Résultat IAsyncResult

BeginAuthenticateAsServer() public méthode

public BeginAuthenticateAsServer ( System credential, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
credential System
requiredProtectionLevel System
requiredImpersonationLevel System
asyncCallback System
asyncState object
Résultat IAsyncResult

BeginAuthenticateAsServer() public méthode

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback AsyncCallback
asyncState object
Résultat System.IAsyncResult

BeginAuthenticateAsServer() public méthode

public BeginAuthenticateAsServer ( System policy, System asyncCallback, object asyncState ) : System.IAsyncResult
policy System
asyncCallback System
asyncState object
Résultat System.IAsyncResult

BeginRead() public méthode

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

BeginWrite() public méthode

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

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndAuthenticateAsClient() public méthode

public EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

EndAuthenticateAsClient() public méthode

public EndAuthenticateAsClient ( System asyncResult ) : void
asyncResult System
Résultat void

EndAuthenticateAsServer() public méthode

public EndAuthenticateAsServer ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

EndAuthenticateAsServer() public méthode

public EndAuthenticateAsServer ( System asyncResult ) : void
asyncResult System
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

NegotiateStream() public méthode

public NegotiateStream ( System innerStream )
innerStream System

NegotiateStream() public méthode

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

NegotiateStream() public méthode

public NegotiateStream ( Stream innerStream ) : System.IO
innerStream Stream
Résultat System.IO

NegotiateStream() public méthode

public NegotiateStream ( Stream innerStream, bool leaveInnerStreamOpen ) : System.IO
innerStream Stream
leaveInnerStreamOpen bool
Résultat System.IO

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

ReadAsync() public méthode

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

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

Seek() public méthode

public Seek ( long offset, System origin ) : long
offset long
origin System
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

WriteAsync() public méthode

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