Returns a path to the directory with common application settings for all users.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
Parameters
- company
- Type: System..::.String
The company name (producer).
- product
- Type: System..::.String
The application name (product).
Return Value
The path to the directiory with the application settings for all users.
Remarks
Method returns a path to the directory, which serves for saving application settings for all users.
This directory is in the common application data directory (CommonApplicationData),
the subdirectory given by company name (producer) and the subdirectory of application name (product).
When company is nullNothingnullptra null reference (Nothing in Visual Basic), CompanyName value is used..
When product is nullNothingnullptra null reference (Nothing in Visual Basic), ProductName value is used.
When the directory is not exist, it will be created.