Re: Public key/Private key authentication
                Yes, see https://winscp.net/eng/docs/guide_public_key#winscp
Or do you want to use it from code? You didn't mention that, but as you are posting this to the .NET assembly forum: Use
https://winscp.net/eng/docs/library_sessionoptions#sshprivatekeypath
        Or do you want to use it from code? You didn't mention that, but as you are posting this to the .NET assembly forum: Use
SessionOptions.SshPrivateKeyPath:
https://winscp.net/eng/docs/library_sessionoptions#sshprivatekeypath