[Mono-list] Reliable OS identification on Mono

Vladislav Rastrusny FractalizeR at yandex.ru
Mon Sep 22 12:47:47 EDT 2008


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.

Thanks in advance.

More information about the Mono-list mailing list