Class AuthenticationResult
Provides information about the outcome of a security type authentication attempt.
Inheritance
System.Object
AuthenticationResult
Namespace: MarcusW.VncClient.Protocol.SecurityTypes
Assembly: MarcusW.VncClient.dll
Syntax
public class AuthenticationResult : object
Constructors
| Improve this Doc View SourceAuthenticationResult(ITransport, Boolean)
Initializes a new instance of the AuthenticationResult.
Declaration
public AuthenticationResult(ITransport tunnelTransport = null, bool expectSecurityResult = true)
Parameters
Type | Name | Description |
---|---|---|
ITransport | tunnelTransport | The tunnel transport to replace the base transport with or null when no tunnel was built. |
System.Boolean | expectSecurityResult | True if the server will send a SecurityResult message after authentication, False otherwise. |
Properties
| Improve this Doc View SourceExpectSecurityResult
Gets whether the server will send a SecurityResult message after authentication.
Declaration
public bool ExpectSecurityResult { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
TunnelTransport
Gets the established tunnel transport that will replace the base transport from now on. This is null when no tunnel was built.
Declaration
public ITransport TunnelTransport { get; }
Property Value
Type | Description |
---|---|
ITransport |