[Mono-list] Detect OS?
stifu at free.fr
Sat May 19 05:44:39 UTC 2012
This is what I use:
> Well Im writing some c# code, I would like to know how I would detect what
> OS the user is running,
> I dont want to use alot of if/thens
> and I was hoping not to use a switch,
> I was hoping for something simple as /Enviroment.GetOS();/
> But I know about
> is their a faster and or easier way to get the users OS ?
View this message in context: http://mono.1490590.n4.nabble.com/Detect-OS-tp4645659p4645698.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list