IsOpenSilver

 

The IsOpenSilver function is a function that can check whether a script is running on the OpenSilver client.

 

int IsOpenSilver();

 

 

return value

Returns 1 if running on the OpenSilver client, otherwise returns 0.

 

Example

i = @IsOpenSilver();

if(i == 1) @Message("This feature is not supported in OpenSilver.");

Description : If running in OpenSilver, display the content of the message.

 

Version Information

Supported Version: 10.3.7.4 or later