Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool IsLinux
- {
- get
- {
- int p = (int) Environment.OSVersion.Platform;
- return (p == 4) || (p == 6) || (p == 128);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement