C# Класс GSF.Security.Authentication.IntegratedSecurityClient

Uses windows integrated security to authentication. This uses NTLM in non-domain environments and Kerberos in domain environments.
Наследование: GSF.Diagnostics.DisposableLoggingClassBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IntegratedSecurityClient ( ) : System

Uses the default credentials of the user to authenticate

IntegratedSecurityClient ( string username, string password, string domain ) : System

Uses the specified username and password to authenticate.

TryAuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool

Authenticates the client using the supplied stream.

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

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

Uses the default credentials of the user to authenticate
public IntegratedSecurityClient ( ) : System
Результат System

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

Uses the specified username and password to authenticate.
public IntegratedSecurityClient ( string username, string password, string domain ) : System
username string The username to use
password string the password to use
domain string the domain to long in as.
Результат System

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

Authenticates the client using the supplied stream.
public TryAuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
stream Stream the stream to use to authenticate the connection.
additionalChallenge byte Additional data that much match between the client and server /// for the connection to succeed.
Результат bool