Re: Host key Unverified
Use SessionOptions.HostKey to set expected host key.
https://winscp.net/eng/docs/library_sessionoptions
Using Session.DefaultConfiguration is not recommended.
https://winscp.net/eng/docs/library_sessionoptions
Using Session.DefaultConfiguration is not recommended.