Mono Class Library: System.Environment Overview | Members

System.Environment.GetFolderPath Method

Returns the path on the file system corresponding to the special folder.

public static string GetFolderPath (Environment.SpecialFolder folder)

Parameters

folder
The special folder whose path is to be returned.

Returns

The path to the special folder, or the empty string if the special folder is not available or not applicable in the running operating system.

Remarks

See Environment.SpecialFolder for a list of special folders and their locations on non-Windows operating systems.

Requirements

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