OperatingSystem.IsBrowser Method

Definition

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

C#
public static bool IsBrowser();

Returns

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

Applies to

Prodotto Versioni
.NET 5, 6, 7, 8, 9