In c#, I tried to read the values of short date format from the Windows registry in HKEY_CURRENT_USER but instead I get the values from HKEY_USERS.
I used the following codes to read the subkeys of HKEY_CURRENT_USER
RegistryKey RegKey = Registry.CurrentUser.OpenSubKey(@"Control Panel\International\");
var DateFormat = RegKey.GetValue("sShortDate");
How do I get the HKEY_CURRENT_USER subkey values?
HKEY_USERS\Control Panel
, what is the actual path to the key that contains the olddd/MM/yyyy
value? – Harry Johnston