System.IsKiosk
Skip to content
mnscript
bool System.IsKiosk() 

Description ​

Returns whether the system is a kiosk.

Returns ​

bool - True if the system is a kiosk.

Example ​

msc
using System;
using Console;

// If you're running on a kiosk, certain things such as making a kiosk frame will not work.
bool isKiosk = System.IsKiosk();

if(isKiosk){
    Console.WriteLine("This is a kiosk!");
}