Dear Forum members,
How can I get the version of a .Net assembly using C#.
Is there a function which takes in a .net dll file name
and returns me the version string ?
Thanks in advance.
Printable View
Dear Forum members,
How can I get the version of a .Net assembly using C#.
Is there a function which takes in a .net dll file name
and returns me the version string ?
Thanks in advance.
Try
System.Reflection.Assembly.GetAssembly(typeof(anExposedType)).FullName
The version should be the second comma delimeted field.
Hope this helps.
good though. ;)
Paresh