Reads a value from the Windows Registry.
The value is looked for in "HKEY_CURRENT_USER\Software\CompanyName\ApplicationName\Options" (where CompanyName and ApplicationName are the values of the Company Name and Application Name project configuration settings).
public string GetRegistryValue(string ValueName, string DefaultValue);
Return Value
The value in the Registry if it was found or DefaultValue if not.
Parameters
ValueName
The name of the Value in the Registry.
DefaultValue
The value to return if the name isn't found in the Registry.
Overloads:
public string GetRegistryValue(string ValueName);
public string GetRegistryValue(string ValueName, string DefaultValue, string Node);
See also:
Class SFQApplication© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic