c# How write hex value in registry , instead of decimal value?
How can i write in registry DWORD hexadecimal value ? Instead of decimal value, like in this code example ?

    RegistryKey key = Registry.LocalMachine;
    key = klase.CreateSubKey(@"SYSTEM\CurrentControlSet\Control\Windows");
    key.SetValue("CSDVersion2", "100", RegistryValueKind.DWord);
    key.Close(); 

c# How write hex value in registry , instead of decimal value?
===

How can i write in registry DWORD hexadecimal value ? Instead of decimal value, like in this code example ?

    RegistryKey key = Registry.LocalMachine;
    key = klase.CreateSubKey(@"SYSTEM\CurrentControlSet\Control\Windows");
    key.SetValue("CSDVersion2", "100", RegistryValueKind.DWord);
    key.Close(); 
