I'm trying to get my application to display version information on the loading/splash 
screen by using reflection to retrieve the System.Reflection.AssemblyVersion attribute.

But how do I retrieve the actual variable from an assembly? I'm doing something pretty 
wrong here.

The version number returned ought to be 0.0.8888 or something to that effect.  Also 
how do I extract the information from *other* assemblies?

Sure I can use a custom Attribute, but I *need* to retrieve [Assembly: 
AssemblyVersion...]. The examples I managed to find in the msdn library don't tell me 
how to extract such information from an assembly.  Can someone provide me with an 
example that can retieve The information embedded by assemblyinfo.cs in both the 
executing assembly and an assembly in the GAC or on disc?


Anthony Clay
[EMAIL PROTECTED]

Reply via email to