Answer:
With the help of Registry and RegistryKey classes of Microsoft.win32 we can do in .net.
We create instance of Registrykey class . Registry is static class , so we can access its method directly.
Sample in highlevel:
[code]RegistryKey Obj;
obj=Register.LocalMachine
Object Value=Obj.GetValue("Variable")[/code]
Asked In: One Interview |
Alert Moderator