In .NET, the Registry and the RegistryKey classes provides you control over Windows registry.
控制Windows 的注册登记
Code shows you how to read, write to the registry.
读/写注册表的代码