I use for reading registry following:
RegistryKey rk1 = Registry.CurrentUser.CreateSubKey("Software\\"Microsoft\Notepad");
string rk_read = rk1.GetValue("IfFaceName");
Console.WriteLine("The string: {0}",rk_read);
But in console i see only
The string:
and nothing else... String IfFaceName is in the registry on the location in code.
Loading
Niradhip ChakrabortyPosted May 4, 2009, 5:45 AM
Check Out:
1.http://www.c-sharpcorner.com/UploadFile/sushmita_kumari/RegistryKeys102082006061720AM/RegistryKeys1.aspx?ArticleID=0ce07333-c9ab-4a6a-bc5d-44ea2523e232
2.http://sandeep-aparajit.blogspot.com/2008/08/how-to-readwrite-registry-in-c.html
3.http://www.dotnetspider.com/forum/171990-How-read-write-system-s-registry-using-C-net.aspx