Dbal has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I have tried to get the hardware details (like sound card, Nic)using WIN32 module. Finally I have processor info only. Please help me , How to the hardware details.
My code is
-----------------
use Win32::Registry; my $Register = "HARDWARE\\DESCRIPTION\\System"; my $RegType, $RegValue, $RegKey, $value; my %values; $HKEY_LOCAL_MACHINE->Open($Register,$hkey)|| die $!; $hkey->GetKeys(\@key_list); $hkey->GetValues(\%values); foreach $key (@key_list) { print "\n$key\n"; } $hkey->Close();
Thanks
Dhana
Edited by planetscape - added code and <p> </p> tags; promoted to SoPW
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help onWin32::Registry
by planetscape (Chancellor) on Dec 26, 2005 at 10:15 UTC | |
|
Re: Help onWin32::Registry
by zentara (Cardinal) on Dec 26, 2005 at 11:32 UTC | |
|
Re: Help onWin32::Registry
by john_oshea (Priest) on Dec 26, 2005 at 10:45 UTC |