using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// Structure of a shortcut. /// /// Up-to-date with Electron API 39.2 [SupportedOSPlatform("windows")] public class ShortcutDetails { /// /// The Application User Model ID. Default is . /// public string AppUserModelId { get; set; } /// /// The arguments to be applied to when launching from this shortcut. Default is . /// public string Args { get; set; } /// /// The working directory. Default is . /// public string Cwd { get; set; } /// /// The description of the shortcut. Default is . /// public string Description { get; set; } /// /// The path to the icon, can be a DLL or EXE. and have to be set /// together. Default is , which uses the target's icon. /// public string Icon { get; set; } /// /// The resource ID of icon when is a DLL or EXE. Default is 0. /// public int IconIndex { get; set; } /// /// The Application Toast Activator CLSID. Needed for participating in Action Center. /// [SupportedOSPlatform("windows")] public string ToastActivatorClsid { get; set; } /// /// The target to launch from this shortcut. /// public string Target { get; set; } } }