ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework Namespace / FrameworkApplication Class / GetAddInInfos Method
Example

In This Topic
    GetAddInInfos Method
    In This Topic
    Returns a collection of AddInfos representing the currently loaded add-ins.
    Syntax
    Public Shared Function GetAddInInfos() As List(Of AddInInfo)
    public static List<AddInInfo> GetAddInInfos()
    Example
    Get Information on the Currently Installed Add-ins
    {
      var addin_infos = FrameworkApplication.GetAddInInfos();
      StringBuilder sb = new();
    
      foreach (var info in addin_infos)
      {
        if (info == null)
          break;//no add-ins probed
    
        sb.AppendLine($"Addin: {info.Name}");
        sb.AppendLine($"Description {info.Description}");
        sb.AppendLine($"ImagePath {info.ImagePath}");
        sb.AppendLine($"Author {info.Author}");
        sb.AppendLine($"Company {info.Company}");
        sb.AppendLine($"Date {info.Date}");
        sb.AppendLine($"Version {info.Version}");
        sb.AppendLine($"FullPath {info.FullPath}");
        sb.AppendLine($"DigitalSignature {info.DigitalSignature}");
        sb.AppendLine($"IsCompatible {info.IsCompatible}");
        sb.AppendLine($"IsDeleted {info.IsDeleted}");
        sb.AppendLine($"TargetVersion {info.TargetVersion}");
        sb.AppendLine($"ErrorMsg {info.ErrorMsg}");
        sb.AppendLine($"ID {info.ID}");
        sb.AppendLine("");
      }
      System.Diagnostics.Debug.WriteLine(sb.ToString());
      MessageBox.Show(sb.ToString(), "Addin Infos");
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also