OperatingSystem.IsMacOS Método
Definição
Indica se o aplicativo atual está em execução no macOS.Indicates whether the current application is running on macOS.
public:
static bool IsMacOS();
public static bool IsMacOS ();
static member IsMacOS : unit -> bool
Public Shared Function IsMacOS () As Boolean
Retornos
true se o aplicativo atual estiver em execução no macOS; caso contrário, false.true if the current application is running on macOS; false otherwise.