IsWindowsSubsystemForLinux()

Environment::IsWindowsSubsystemForLinux() method

Returns true only for WSL.

static bool System::Environment::IsWindowsSubsystemForLinux()

See Also