See if this works for you:
string version =
Assembly.GetExecutingAssembly().GetName().Version.ToString();

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> How do I get the version of the addin currently running?
Bob C. - 27 Mar 2008 20:16 GMT
Thanks. I added the system.reflection namespace and it works great.
> See if this works for you:
>
> string version =
> Assembly.GetExecutingAssembly().GetName().Version.ToString();
>
> > How do I get the version of the addin currently running?
Bob C. - 28 Mar 2008 14:00 GMT
Worked like a charm...
> See if this works for you:
>
> string version =
> Assembly.GetExecutingAssembly().GetName().Version.ToString();
>
> > How do I get the version of the addin currently running?