[Mono-osx] Howto detect os?

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Sep 13 18:23:37 EDT 2009

On Sun, Sep 13, 2009 at 3:45 PM, Heertsch <heertsch at gmail.com> wrote:
> Hi
> is there a way to detect, if the app runs under linux or osx?
> Environment.OSVersion.Platform.ToString() sends in both cases "Unix"

In MD we use some detection code factored out of Managed.Windows.Forms/XplatUI:


Michael Hutchinson

More information about the Mono-osx mailing list