Solved

System Information API in VB.NET

Posted on 2004-04-28
3
850 Views
Last Modified: 2013-11-13
Hi ,
  Can anyone tell me API's for extracting driver information like which sound driver/ Display driver etc.is installed in system . I want to use these API's in VB.NET.

Regards
Manish
0
Comment
Question by:manish_prajapati
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 41

Expert Comment

by:graye
ID: 10938211
The best approach would be to use Windows Management Instrumentation (WMI)... it allows  you to get all sorts of behind-the-scences stuff in an abstracted way.

The code would look something like this:

        Dim wmi As ManagementClass
        Dim obj As ManagementObject
        Dim objs As ManagementObjectCollection

                    wmi = New ManagementClass("Win32_VideoController")
                    objs = wmi.GetInstances()
                    For Each obj In objs
                               msgbox("Driver version :" & obj("DriverVersion"))
                    next
0
 

Author Comment

by:manish_prajapati
ID: 10939461
It is giving namespace problem, i.e. I have to include namespce for that...

But how...

Manish
0
 
LVL 41

Accepted Solution

by:
graye earned 30 total points
ID: 10939536
Yeah...sorry you have to add System. Management as a reference
0

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Introduction to Processes
Starting up a Project

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question