Is there any way for me to get the version of an assembly or application in Java?
For example, I have a .NET .dll file located in Program Files. I normally call `loadLibrary' on this .dll so I can invoke JNI methods in C++.
System.loadLibrary("MyJniAssembly");
Can someone point me in the right direction? Thanks.
The simplest way would be to expose that information in another native method implemented in the assembly. If you can't do it there, you'd have to create a new assembly with such a method but one that takes a parameter indicating the assembly or type you are interested in.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With