ArcGIS Pro 3.0 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 static List<AddInInfo> GetAddInInfos()
    Public Shared Function GetAddInInfos() As List(Of AddInInfo)
    Example
    Get Information on the Currently Installed Add-ins
    var addin_infos = FrameworkApplication.GetAddInInfos();
    StringBuilder sb = new StringBuilder();
    
    foreach (var info in addin_infos)
    {
      if (info == null)
        break;//no addins 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, Windows 10, Windows 8.1

    See Also