using System; using System.ComponentModel; using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// Controls the behavior of OpenExternal. /// public class OpenExternalOptions { /// /// to bring the opened application to the foreground. The default is . /// [DefaultValue(true)] [SupportedOSPlatform("macos")] public bool Activate { get; set; } = true; /// /// The working directory. /// [SupportedOSPlatform("windows")] public string WorkingDirectory { get; set; } } }