Way to Detect Device Driver
Posted: Wed 16. Jan 2019, 02:16
My WPF application checks for the presence of the necessary DLL files when it starts up, but I don't know how to check whether or not the USB driver has been installed. If the DLL is present, I can read the GetValue function with the PCAN_CHANNEL_VERSION parameter. But I should be able to check for the presence of the Device Driver without the DLL, although I realize this is probably more of a general Windows question.
I think the proper way would be to use System.Management.SelectQuery("Win32_SystemDriver"), what driver name do I query on though? PCAN_USB.sys?
Thanks in advance for any help!!!
I think the proper way would be to use System.Management.SelectQuery("Win32_SystemDriver"), what driver name do I query on though? PCAN_USB.sys?
Thanks in advance for any help!!!