The Maverick.NET SSH API

SSHPrivateKeyFile.HasPassphrase Property

Determines if the private key file is protected by a passphrase.

[Visual Basic]
Property HasPassphrase As Boolean
[C#]
bool HasPassphrase {get;}

Remarks

Your implementation should return true if the loaded key is protected by a passphrase.

See Also

SSHPrivateKeyFile Interface | Maverick.PublicKey Namespace