Why is SshHostKeyFingerprint needed when SshPrivateKeyPath is set to private key file
When I connect manually using the GUI WinSCP client to an SFTP site, I specify Host Name, User Name and Private Key File. No password or fingerprint is needed to connect. However, when I try to connect through the .NET client by specifying the same corresponding properties, I get this error:
Is there a default value set for this property when using the Windows GUI client that I need to set directly when using the .NET client?System.ArgumentException: SessionOptions.Protocol is Protocol.Sftp or Protocol.Scp, but SessionOptions.SshHostKeyFingerprint is not set.