Click here to Skip to main content
15,889,654 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi I need to retrieve version of DLL files under a specific folder of different remote system connected in vpn using C# and/or SQL Server.
Please help/guide me how it can be done?

What I have tried:

I have tried using WMI in C# & sp_OACreate in SQLServer. But both the case not able to retrieve remote file version.
Posted
Updated 16-May-20 16:04pm

1 solution

Well, you haven't provided any code for the C#/WMI attempt, so it's hard to help you - there are two links that said WMI/Powershell should be possible, these might give you ideas, but without your code/actual errors rather than the vague "
Quote:
not able to retrieve remote file version
I dont know what you expect (& have you enabled remoting, checked permisions etc) ...

How Can I Determine the Version Number of a File? | Scripting Blog[^]

Finding file version from remote computer(s) using WMI – Ravikanth Chaganti[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900