Uredi

Deli z drugimi prek


OperatingSystem.IsMacOS Method

Definition

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

Returns

true if the current application is running on macOS; false otherwise.

Applies to