Brunet.Applications.OSDependent.OSDependent C# (CSharp) Method

OSDependent() static private method

Static constructor to setup OSVersion
static private OSDependent ( ) : System
return System
    static OSDependent() {
      int p = (int) Environment.OSVersion.Platform;
      if ((p == 4) || (p == 128)) {
        OSVersion = OS.Linux;
      }
      else {
        OSVersion = OS.Windows;
      }
    }
  }
OSDependent