C# Класс System.Net.Security.NegotiateStream

Наследование: AuthenticatedStream
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
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

Описание методов

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( ) : void
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( NetworkCredential credential, ChannelBinding binding, string targetName ) : void
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
Результат void

AuthenticateAsClient() публичный Метод

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
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( NetworkCredential credential, string targetName ) : void
credential NetworkCredential
targetName string
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : void
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( System credential, System binding, string targetName ) : void
credential System
binding System
targetName string
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( System credential, System binding, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
binding System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( System credential, string targetName ) : void
credential System
targetName string
Результат void

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( System credential, string targetName, System requiredProtectionLevel, System allowedImpersonationLevel ) : void
credential System
targetName string
requiredProtectionLevel System
allowedImpersonationLevel System
Результат void

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, System binding, string targetName ) : System.Threading.Tasks.Task
credential NetworkCredential
binding System
targetName string
Результат System.Threading.Tasks.Task

AuthenticateAsClientAsync() публичный Метод

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
Результат System.Threading.Tasks.Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : System.Threading.Tasks.Task
credential NetworkCredential
targetName string
Результат System.Threading.Tasks.Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, System allowedImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel System
Результат System.Threading.Tasks.Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( ) : Task
Результат Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, ChannelBinding binding, string targetName ) : Task
credential NetworkCredential
binding System.Security.Authentication.ExtendedProtection.ChannelBinding
targetName string
Результат Task

AuthenticateAsClientAsync() публичный Метод

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
Результат Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName ) : Task
credential NetworkCredential
targetName string
Результат Task

AuthenticateAsClientAsync() публичный Метод

public AuthenticateAsClientAsync ( NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel ) : Task
credential NetworkCredential
targetName string
requiredProtectionLevel ProtectionLevel
allowedImpersonationLevel TokenImpersonationLevel
Результат Task

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( ) : void
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( ExtendedProtectionPolicy policy ) : void
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
credential NetworkCredential
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : void
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : void
credential NetworkCredential
policy System
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Результат void

AuthenticateAsServer() публичный Метод

public AuthenticateAsServer ( System policy ) : void
policy System
Результат void

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Результат System.Threading.Tasks.Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( NetworkCredential credential, System policy, ProtectionLevel requiredProtectionLevel, System requiredImpersonationLevel ) : System.Threading.Tasks.Task
credential NetworkCredential
policy System
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel System
Результат System.Threading.Tasks.Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( System policy ) : System.Threading.Tasks.Task
policy System
Результат System.Threading.Tasks.Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( ) : Task
Результат Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( ExtendedProtectionPolicy policy ) : Task
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
Результат Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( NetworkCredential credential, ExtendedProtectionPolicy policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
credential NetworkCredential
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Результат Task

AuthenticateAsServerAsync() публичный Метод

public AuthenticateAsServerAsync ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel ) : Task
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
Результат Task

BeginAuthenticateAsClient() публичный Метод

public BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginAuthenticateAsClient() публичный Метод

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
Результат IAsyncResult

BeginAuthenticateAsClient() публичный Метод

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
Результат IAsyncResult

BeginAuthenticateAsClient() публичный Метод

public BeginAuthenticateAsClient ( NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
targetName string
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginAuthenticateAsClient() публичный Метод

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
Результат IAsyncResult

BeginAuthenticateAsClient() публичный Метод

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
Результат System.IAsyncResult

BeginAuthenticateAsClient() публичный Метод

public BeginAuthenticateAsClient ( System credential, System binding, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
binding System
targetName string
asyncCallback System
asyncState object
Результат System.IAsyncResult

BeginAuthenticateAsClient() публичный Метод

public BeginAuthenticateAsClient ( System asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback System
asyncState object
Результат System.IAsyncResult

BeginAuthenticateAsClient() публичный Метод

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
Результат System.IAsyncResult

BeginAuthenticateAsClient() публичный Метод

public BeginAuthenticateAsClient ( System credential, string targetName, System asyncCallback, object asyncState ) : System.IAsyncResult
credential System
targetName string
asyncCallback System
asyncState object
Результат System.IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
policy System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

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
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
credential NetworkCredential
requiredProtectionLevel ProtectionLevel
requiredImpersonationLevel TokenImpersonationLevel
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

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
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( System credential, System requiredProtectionLevel, System requiredImpersonationLevel, System asyncCallback, object asyncState ) : IAsyncResult
credential System
requiredProtectionLevel System
requiredImpersonationLevel System
asyncCallback System
asyncState object
Результат IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( AsyncCallback asyncCallback, object asyncState ) : System.IAsyncResult
asyncCallback AsyncCallback
asyncState object
Результат System.IAsyncResult

BeginAuthenticateAsServer() публичный Метод

public BeginAuthenticateAsServer ( System policy, System asyncCallback, object asyncState ) : System.IAsyncResult
policy System
asyncCallback System
asyncState object
Результат System.IAsyncResult

BeginRead() публичный Метод

public BeginRead ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

BeginWrite() публичный Метод

public BeginWrite ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback AsyncCallback
asyncState object
Результат IAsyncResult

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EndAuthenticateAsClient() публичный Метод

public EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Результат void

EndAuthenticateAsClient() публичный Метод

public EndAuthenticateAsClient ( System asyncResult ) : void
asyncResult System
Результат void

EndAuthenticateAsServer() публичный Метод

public EndAuthenticateAsServer ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Результат void

EndAuthenticateAsServer() публичный Метод

public EndAuthenticateAsServer ( System asyncResult ) : void
asyncResult System
Результат void

EndRead() публичный Метод

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Результат int

EndWrite() публичный Метод

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Результат void

Flush() публичный Метод

public Flush ( ) : void
Результат void

NegotiateStream() публичный Метод

public NegotiateStream ( System innerStream )
innerStream System

NegotiateStream() публичный Метод

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

NegotiateStream() публичный Метод

public NegotiateStream ( Stream innerStream ) : System.IO
innerStream Stream
Результат System.IO

NegotiateStream() публичный Метод

public NegotiateStream ( Stream innerStream, bool leaveInnerStreamOpen ) : System.IO
innerStream Stream
leaveInnerStreamOpen bool
Результат System.IO

Read() публичный Метод

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Результат int

ReadAsync() публичный Метод

public ReadAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task
buffer byte
offset int
size int
cancellationToken System.Threading.CancellationToken
Результат Task

Seek() публичный Метод

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Результат long

Seek() публичный Метод

public Seek ( long offset, System origin ) : long
offset long
origin System
Результат long

SetLength() публичный Метод

public SetLength ( long value ) : void
value long
Результат void

Write() публичный Метод

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Результат void

WriteAsync() публичный Метод

public WriteAsync ( byte buffer, int offset, int size, CancellationToken cancellationToken ) : Task
buffer byte
offset int
size int
cancellationToken System.Threading.CancellationToken
Результат Task