Gets the current path to the specified known folder as currently configured. This does not require the folder to be existent.
public static string GetPath(KnownFolder knownFolder, bool defaultUser)
The default path of the known folder.
The known folder which current path will be returned.
Specifies if the paths of the default user (user profile template) will be used. This requires administrative rights.
Thrown if the path could not be retrieved.
See also:Class KnownFolders
Comment or report problem with topic