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

Jonathan Pryor jonpryor@vt.edu
Thu, 16 Sep 2004 06:51:41 -0400

On Wed, 2004-09-15 at 11:26, Sebastien Pouliot wrote:
> 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.

And from reading the source code we see:

        SpecialFolder.Personal: ~/ (home directory)
        	First available folder from:
        	First available folder from:
        SpecialFolder.Desktop, SpecialFolder.DesktopDirectory: ~/Desktop
        SpecialFolder.CommonApplicationData: /usr/share
        Any other SpecialFolder value: "" (empty string)
        Any invalid SpecialFolder value: throws ArgumentException.

 - Jon