static OSDependent() { int p = (int) Environment.OSVersion.Platform; if ((p == 4) || (p == 128)) { OSVersion = OS.Linux; } else { OSVersion = OS.Windows; } } }