Use the Registry Class Microsoft.Win32.Registry
http://www.c-sharpcorner.com/Tutorials/WinRegTutCSMCB.asp RegistryKey pRegKey = Registry.LocalMachine; pRegKey = pRegKey.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0") ; Object val = pRegKey.GetValue("VendorIdentifier"); Console.WriteLine("The central processor of this machine is:"+ val); Good Luck, Andrew Zetterman -----Original Message----- From: Robert Beaubien [mailto:RBeaubien@;koolsoft.com] Sent: Thursday, November 14, 2002 3:10 PM To: dotnet Subject: Registry Now do I access the Registry using .NET methods? Thanx, - Robert Beaubien - Sr. Programmer - Kool Software - --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
