Re: Find the fingerprint
It makes no sense to automate fingerprint retrieval. It defies the purpose. You should verify that the fingerprint is valid. If you don't, you can pretty much configure WinSCP not to bother with checking fingerprint at all.
It's not clear from your question, if this is about SSH host key or FTP TLS certificate. And if you use scripting or .NET assembly. But in general, it does not really matter.
See also https://winscp.net/eng/docs/faq_hostkey
It's not clear from your question, if this is about SSH host key or FTP TLS certificate. And if you use scripting or .NET assembly. But in general, it does not really matter.
See also https://winscp.net/eng/docs/faq_hostkey