Which function can retrieve the registry string?

  • Thread starter Thread starter ABC
  • Start date Start date
A

ABC

Which function can retrieve the registry string from
HKEY_Current_User\Control Panel\International\sShortDate?
 
using Microsoft.Win32;

using (RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Control
Panel\International"))
{
return key.GetValue("sShortDate");
}
 
ABC said:
Which function can retrieve the registry string from
HKEY_Current_User\Control Panel\International\sShortDate?

Look at the Registry and RegistryKey classes in the Microsoft.Win32
namespace.
 
Back
Top