On Mon, Sep 22, 2008 at 12:47 PM, Vladislav Rastrusny <[EMAIL PROTECTED]> 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: Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "yourappdir"); -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
