[Mono-list] Detect OS?

Curtis Wensley curtis.wensley at gmail.com
Sat May 19 05:45:12 UTC 2012

Something like this works well to detect OS version, and whether it is
running on mono, mac, linux, or windows:


Then you can just use Platform.IsWindows, Platform.IsLinux, Platform.IsMono,

Hope this helps!

View this message in context: http://mono.1490590.n4.nabble.com/Detect-OS-tp4645659p4645699.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list