Topic "Method to Query Version No of WinSCP DLL/EXE"

Author Message
bytecodeman
[View user's profile]

Joined: 2005-03-29
Posts: 4
Hi!

Is there a way to determine to retrieve the version number of the DLL/EXE of WinSCP used by an application? I can't seem to find the capability.

I'd like to report in a log all the version numbers of the components used by my app.

Thx!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
No. But you can easily use FileVersionInfo.GetVersionInfo.
See https://msdn.microsoft.com/en-us/library/system.diagnostics.fileversioninfo.getversioninfo.aspx

That's what ExeSessionProcess.CheckVersion in WinSCP .NET assembly does.
_________________
Martin Prikryl
bytecodeman
[View user's profile]

Joined: 2005-03-29
Posts: 4
Very Good!

Thank you!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License