Get browser download folder path c# - what?
Environment.GetFolderPath Method
Gets the path to the system special folder that is identified by the specified enumeration.
Parameters
Returns
- String
The path to the specified system special folder, if that folder physically exists on your computer; otherwise, an empty string ("").
A folder will not physically exist if the operating system did not create it, the existing folder was deleted, or the folder is a virtual directory, such as My Computer, which does not correspond to a physical path.
Exceptions
Examples
The following example demonstrates how to use the GetFolderPath method to return and display the path associated with the parameter.
Remarks
This method retrieves the path to a system special folder, such as Program Files, Programs, System, or Startup, which can be used to access common information. Special folders are set by default by the system, or explicitly by the user, when installing a version of Windows.
The parameter designates the special folder to retrieve and must be one of the values in the Environment.SpecialFolder enumeration; any other value throws an exception.
For more information about special folders, see the CSIDL values topic.
0 thoughts to “Get browser download folder path c#”