registry for dummies
-
Hi.... Can anyone tell me how can I retrieve info about what software that have been installed on a pc and how can I read REG_Binary?
-
Hi.... Can anyone tell me how can I retrieve info about what software that have been installed on a pc and how can I read REG_Binary?
-
.net
-
.net
-
I've already read this article. But it doesn't have what i need to know. But thanks anyway for your time.
-
I've already read this article. But it doesn't have what i need to know. But thanks anyway for your time.
-
specifically i want to retrieve system info such as processor brand, hard disk space, total space and free space and also all the program that is installed in a pc. I know if we want to get all the info we should use registry. I can retrieve the info with REG_SV data type and REG_DWORD data type but i don't know how to get the info that use REG_Binary data type.
-
specifically i want to retrieve system info such as processor brand, hard disk space, total space and free space and also all the program that is installed in a pc. I know if we want to get all the info we should use registry. I can retrieve the info with REG_SV data type and REG_DWORD data type but i don't know how to get the info that use REG_Binary data type.
-
nope. is it exist in .net framework. how to use it. To be honest with u, i'm a newbie in .net
-
nope. is it exist in .net framework. how to use it. To be honest with u, i'm a newbie in .net
There is a relatively complex API called "WMI" -- Windows Management Instrumentation. Look for documentation on that. Unfortunately, I've never used it, but I've scanned through some articles in the past that imply that you can achieve what you are looking for with it.
-
specifically i want to retrieve system info such as processor brand, hard disk space, total space and free space and also all the program that is installed in a pc. I know if we want to get all the info we should use registry. I can retrieve the info with REG_SV data type and REG_DWORD data type but i don't know how to get the info that use REG_Binary data type.
The best way to do that if thru WMI. Not the easiest API to use, but you can start with the documentation on it here[^]. I've done exactly what your doing, but had to do it the hard way in C/C++ because not all my client machines had WMI support on them. If your reading from the registry or from disk info, it's a real pain to write code for every tiny bit of information you want to collect. WMI makes it SOOO much easier, but you still have to write a query for each piece of info you want. It's comes down a a few lines of code per item you want, but it's MUCH less that getting it out of the registry. Besides, some of the info you want isn't stored in the registry at all... EDIT: There are WMI Downloads for Tutorials and Tools here[^]. RageInTheMachine9532
-
The best way to do that if thru WMI. Not the easiest API to use, but you can start with the documentation on it here[^]. I've done exactly what your doing, but had to do it the hard way in C/C++ because not all my client machines had WMI support on them. If your reading from the registry or from disk info, it's a real pain to write code for every tiny bit of information you want to collect. WMI makes it SOOO much easier, but you still have to write a query for each piece of info you want. It's comes down a a few lines of code per item you want, but it's MUCH less that getting it out of the registry. Besides, some of the info you want isn't stored in the registry at all... EDIT: There are WMI Downloads for Tutorials and Tools here[^]. RageInTheMachine9532
thanks you guys....you really help me a lot.