Can we get the file's version number using javascript or JQuery in HTML page?
Asked
Active
Viewed 1,108 times
1
-
Where does this file/DLL live? On the server or on the client? – Darin Dimitrov Sep 27 '13 at 08:13
1 Answers
0
You could try this, this requires communication with the server though,
- Send the path of the .dll you would like read the version from to the server
- Get the version number from the .dll fike (Programmatically get the version number of a DLL)
- Send the file version back to the client
I'm not sure if this would be the best approach, but it does the trick.
You could also do something like this:
- Read the content of the file as binary string (client, ReadAsBinaryString FileReader API)
- Send the binary string to the server
- Read the binary string in memory and get the file version from there
- Send the file version back to the client
I don't have experience with the second approach.
Good luck!

Community
- 1
- 1

Rob Angelier
- 2,335
- 16
- 29
-
Sorry, I am not allowed to get is using any programming language as it is simple HTML page. – Dev Sep 27 '13 at 08:39