Util.cs 232 B

1234567891011121314
  1. namespace System {
  2. internal static class MonoUtil {
  3. static public bool IsUnix {
  4. get {
  5. int platform = (int) Environment.OSVersion.Platform;
  6. return (platform == 4 || platform == 128 || platform == 6);
  7. }
  8. }
  9. }
  10. }