Determines whether the specified host key can be trusted.
Namespace: Renci.SshNet.SecurityAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
protected bool CanTrustHostKey( KeyHostAlgorithm host )
Parameters
- host
- Type: Renci.SshNet.Security KeyHostAlgorithm
The host algorithm.
Return Value
true if the specified host can be trusted; otherwise, false.See Also