Glenn Patton

Glenn Patton

  • NA
  • 308
  • 82.9k

I'm looking for a way to see if a driver is installed on a PC

Jul 2 2012 8:55 AM
Hi All,

I'm looking for a way to see if a driver is installed on a PC, it is for a USB to serial converter,
The problem is I want to check to see if there is a driver for it installed. At the moment I have the code 
    ServiceController[] scDevices = ServiceController.GetDevices();
      foreach (ServiceController scTemp in scDevices)
lstDrivers.Items.Add(scTemp.ServiceType + "," + scTemp.ServiceName + "," + scTemp.DisplayName);

         

This appears to list several files that could be the driver I am looking for... (Microchip driver)

Glenn 

Answers (3)