Save int value to Registry : Registry Save : Windows C# Examples


C# Examples » Windows » Registry Save »

 

Save int value to Registry









    
using  System;
using  Microsoft.Win32;

class  MainClass
{
        public  static  void  Main(String[]  args)
        {
                Registry.SetValue(
                        @"HKEY_CURRENT_USER\Software\CompanyName\SoftwareName",
                        "IntValueName",  101,  RegistryValueKind.DWord);

        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Windows
» Registry Save