[Mono-list] System.Environment.GetFolder(...)

Sebastien Pouliot spouliot@videotron.ca
Wed, 15 Sep 2004 11:26:30 -0400


Hello Kevin,

When Mono is executed on Windows GetFolderPath should return the same value
as MS implementation.
Under Linux (and other OS) it will try to map the requested enum to the best
location (many maps to the same location).

Best way to learn the exact location is (a) monodoc (when documentation is
available) or (b) reading the source code.

Sebastien Pouliot
home: spouliot@videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html


-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]On Behalf Of Kevin White
Sent: 15 septembre 2004 11:18
To: mono-list@lists.ximian.com
Subject: [Mono-list] System.Environment.GetFolder(...)


HI all,

I'm new to mono (been doing .Net for a while now).  I have a question
about the System.Environment.GetFolder(...) method.   I still don't
have linux setup to test it on (will be doing so soon), but wanted to
know what to expect from this method.  I thought it would have been
one of the windows-specific features that didn't make it into mono.  I
was happily surprised to see it.

However, there is no documentation (yes, I plan on contributing some
documentation to the doc project) for the implementation of the
various folders in the enumeration:
Desktop
MyComputer
Programs
Personal
Favorites
Startup
Recent
SendTo
StartMenu
MyMusic
DesktopDirectory
...and so on...

Are all of these implemented in mono?  Where can I find a list of
supported folders from this enumeration, and where they will map to in
Suse, or other linux distributions (do they try to follow LSB
somehow?)?

I'd like to port free versions of my software to Linux using mono, and
need to find this information.

Thanks very much,

Kevin
--
Kevin White
jedirunner@gmail.com
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list