Mono Class Library: System Namespace

System.Environment.SpecialFolder Enumeration

An enumeration of common directories on the file system. [Edit]
[System.Runtime.InteropServices.ComVisible(true)]
public enum Environment.SpecialFolder

Remarks

The enumeration is used by Environment.GetFolderPath.

Not all directories in this enumeration will be available on all platforms for all users. When running on the Windows operating system, the operating system determines the paths to these directories.

[Edit]

Members

Member NameDescription
ApplicationDataThe directory for application data specific to the user executing the program. On non-Windows operating systems, this path is the value of the environment variable XDG_CONFIG_HOME if it is set, otherwise the ".config" directory in the current user's home directory. [Edit]
CommonApplicationDataThe directory for data shared by applications. On non-Windows operating systems, the "/usr/share" directory. [Edit]
CommonProgramFilesThe CommonProgramFiles directory. Not available non-Windows operating systems. [Edit]
CookiesThe cookies directory. Not available non-Windows operating systems. [Edit]
DesktopThe desktop directory. On Unix operating systems, this is either XDG_DESKTOP_DIR from the environment, XDG_DESKTOP_DIR as read from the "user-dirs.dirs" within the SpecialFolder.ApplicationData directory, or as a last resort, the directory named "Desktop" within the SpecialFolder.Personal directory (usually the home directory). [Edit]
DesktopDirectoryThe same as the Desktop enumeration value. [Edit]
FavoritesThe Favorites directory. Not available non-Windows operating systems. [Edit]
HistoryThe History directory. Not available non-Windows operating systems. [Edit]
InternetCacheThe Internet cache directory. Not available non-Windows operating systems. [Edit]
LocalApplicationDataThe directory for application data shared by users of the computer. On non-Windows operating systems, this path is the value of the environment variable XDG_DATA_HOME if it is set, otherwise the ".local/share" directory in the current user's home directory. [Edit]
MyComputerThe My Computer directory. Not available non-Windows operating systems. [Edit]
MyDocumentsDocumentation for this section has not yet been entered. [Edit]
MyMusicThe music directory. On Unix operating systems, this is either XDG_MUSIC_DIR from the environment, XDG_MUSIC_DIR as read from the "user-dirs.dirs" within the SpecialFolder.ApplicationData directory, or as a last resort, the directory named "Music" within the SpecialFolder.Personal directory (usually the home directory). [Edit]
MyPicturesThe pictures directory. On Unix operating systems, this is either XDG_PICTURES_DIR from the environment, XDG_PICTURES_DIR as read from the "user-dirs.dirs" within the SpecialFolder.ApplicationData directory, or as a last resort, the directory named "Pictures" within the SpecialFolder.Personal directory (usually the home directory). [Edit]
PersonalThe personal or home directory for the current user. On non-Windows operating systems, this is the user's home directory. [Edit]
ProgramFilesThe ProgramFiles directory. Not available non-Windows operating systems. [Edit]
ProgramsThe Programs directory. Not available non-Windows operating systems. [Edit]
RecentThe Recent files directory. Not available non-Windows operating systems. [Edit]
SendToThe SendTo directory. Not available non-Windows operating systems. [Edit]
StartMenuThe directory displayed by the start menu. Not available non-Windows operating systems. [Edit]
StartupThe Startup directory. Not available non-Windows operating systems. [Edit]
SystemThe system directory. Not available non-Windows operating systems. [Edit]
TemplatesThe Templates directory. Not available non-Windows operating systems. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0