OperatingSystem.IsBrowser Method

Definition

Indicates whether the current application is running as WASM in a browser.

public:
 static bool IsBrowser();
public static bool IsBrowser ();
static member IsBrowser : unit -> bool
Public Shared Function IsBrowser () As Boolean

Returns

true if the current application is running as WASM in a browser; false otherwise.

Applies to