none
Getting Installed Add-ins and their Version IDs in C# RRS feed

  • Question

  • Hey,

    I've created two add-ins and I want to get which version_id of each add-in I've on my Outlook - I use the following code to check if my add-in is installed and connected - but I want to get the version_id - how can I do that?

    foreach (Microsoft.Office.Core.COMAddIn cAddin in Globals.ThisAddIn.Application.COMAddIns)
    {
    	string addinName = cAddin.Description.ToString();
    	if (addinName.ToLower().Equals("MyAddin1"))
    	{
    		// Get the currently installed version
    	}
    }

    Thanks,

    Seif.


    Seif.



    Sunday, March 2, 2014 10:57 AM

Answers