No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
I've finally gotten this thing to open information and place it into a text file. My next question is, how do I get this part to work? I've bolded the registry key that I'm trying to put into the notepad file, but this one just will not work. What am … | |
This is my first attempt ever at a program in C#. Here's what I have so far: [code]using System; using Microsoft.Win32; class reg { static void Main() { RegistryKey hklm =Registry.LocalMachine; hklm=hklm.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obp=hklm.GetValue("Identifier"); Console.WriteLine("Processor Identifier:{0}",obp); RegistryKey hklp =Registry.LocalMachine; hklp=hklp.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obc=hklp.GetValue("VendorIdentifier"); Console.WriteLine("Vendor Identifier:{0}",obc); RegistryKey biosv =Registry.LocalMachine; biosv=biosv.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\MultiFunctionAdapter\\4"); Object obv=biosv.GetValue("Identifier"); … |
The End.