Is it possible to get the Registry values through , if so what classes used for it?

 Posted by Sashys on 5/3/2011 | Category: C# Interview questions | Views: 2932 | Points: 40

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;
Object Value=Obj.GetValue("Variable")[/code]

Asked In: One Interview | Alert Moderator 

Comments or Responses

Login to post response

More Interview Questions by Sashys