[Mono-list] Reliable OS identification on Mono

Chris Howie cdhowie at gmail.com
Tue Sep 23 00:17:25 EDT 2008

On Mon, Sep 22, 2008 at 12:47 PM, Vladislav Rastrusny
<FractalizeR at yandex.ru> wrote:
> Hello.
> Is there a way to reliably determine OS, application is running on in Mono?
> My application needs to access files of some external application
> (also multiplatform) and those files are located in different places
> depending on OS.
> On Windows it is under ApplicationData, on Linux under /home/user/app
> and on MacOS... I don't know ;) Never installed it.

If /home/user/.config is ok on Linux then you can use:


Chris Howie

More information about the Mono-list mailing list