This article will show you How to create a key in the system or local machine Registry in c#. First we need to add the below mention dll reference .
using Microsoft.Win32.
|
So for creating a registry key entry using c#.net in as
follows:
RegistryKey _myKey;
_myKey = Registry.CurrentUser.CreateSubKey("RegistryName");
_myKey.SetValue("RegistryName", "aspdotnetpools.com");
_myKey.Close();
|
0 comments:
Please let me know your view