Thanks -- not quite right, but close enough for me to find it. The
corrected line is:
o.GetType().Assembly.GetName().Version;
Richard
"Michael Groeger" <go*********@web.de> wrote in message
news:eY**************@TK2MSFTNGP12.phx.gbl...
Richard,
Try the following:
GetAssemblyVersion(object o)
{
if (o != null)
o.GetType().Assembly.GetName().GetVersion();
}
Regards,
Michael
"Richard L Rosenheim" <ri*****@rlr.com> schrieb im Newsbeitrag
news:ub**************@tk2msftngp13.phx.gbl... Given an object, does anyone have any sample code for determining the
version number of it's assembly?
TIA,
Richard Rosenheim