.NET Get the current connection
After I open a connection with the .NET/WinSCP-Lib I will see, the current connection info. How can I do it to see, which protocol, if TLS is used and so on.
Advertisement
Advertisement
With FTPCon .Protocol = Protocol.Ftp .HostName = FtpServer.ServerAdress .UserName = FtpServer.UserName .Password = FtpServer.Password .PortNumber = FtpServer.Port .FtpSecure = FtpSecure.Explicit .GiveUpSecurityAndAcceptAnyTlsHostCertificate = True End With
FTPCon.AddRawSettings("MinTlsVersion", "13")
GiveUpSecurityAndAcceptAnyTlsHostCertificate = True
in the first place!
Advertisement
You can post new topics in this forum