ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework Namespace / AddInInfo Class
Members Example

In This Topic
    AddInInfo Class
    In This Topic
    Add-in metadata.
    Syntax
    Remarks
    Use FrameworkApplication.GetAddInInfos to retrieve the collection of currently loaded add-ins.
    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");
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
          ArcGIS.Desktop.Framework.AddInInfo

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also