Get fingerprint with vb.net

Advertisement

Wilco
Joined:
Posts:
1
Location:
Amersfoort

Get fingerprint with vb.net

Good afternoon,

I use vb.net and how can I retrieve the fingerprint from a server and put it in a variable?

Regards,

Wilco

Reply with quote

Advertisement

AndMCS
Guest

Re: Get fingerprint with vb.net

martin wrote:


Hi,

I'm trying to use this method (scanfingerprint), however, I'm getting the following error message:

Error 1 'WinSCP.Session' does not contain a definition for 'ScanFingerprint' and no extension method 'ScanFingerprint' accepting a first argument of type 'WinSCP.Session' could be found (are you missing a using directive or an assembly reference?)

I installed WinSCPnet using Visual Studio Nuget Package Manager and the installed version is 5.7.5.

In addition, I tried to use the fingerprint generated by WinSCP UI on SessionOptions but it doesn't match with the validation regular expression.

Thanks,

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,468
Location:
Prague, Czechia

Re: Get fingerprint with vb.net

AndMCS wrote:

I installed WinSCPnet using Visual Studio Nuget Package Manager and the installed version is 5.7.5.
So why didn't you install the latest version?
5.7.5 is 4 years old and does not have the Session.ScanFingerprint method.

Reply with quote

Advertisement

You can post new topics in this forum