471,321 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

Module Version and filename - help

Hi all,
I'm trying to get a dll's version and filename through the use of one of its
classes.

Basically, I have an instantiated class from a dll, and I want to find out
its dll version and filename. (I can get its assembly information through
ModuleClass.GetType().Assembly)

Thanks in advance,
Tim.
Feb 18 '06 #1
1 1162
In article <uJ**************@TK2MSFTNGP09.phx.gbl>, tr****@msn.com
says...
Hi all,
I'm trying to get a dll's version and filename through the use of one of its
classes.

Basically, I have an instantiated class from a dll, and I want to find out
its dll version and filename. (I can get its assembly information through
ModuleClass.GetType().Assembly)


Once you have the assembly reference, check out the GetName() method on
Assembly. It'll return you an AssemblyName reference with all of the
information you're looking for.

--
Patrick Steele
Microsoft .NET MVP
http://weblogs.asp.net/psteele
Feb 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Berteun Damman | last post: by
1 post views Thread by alain MONTMORY | last post: by
10 posts views Thread by Jia Lu | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.