Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results


Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging

The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.

Check out The OSR Learning Library at:

Read Kernel Driver Properties based on driver display name

upriyaupriya Member Posts: 2
edited November 10 in NTDEV

I would like to read some of the Properties of the Kernel driver listed below. This can be achieved by viewing the device manager. But would like to get these values from the C# application. Kindly suggest a better way to read them.

Hardware ID
Install Date
Last Arrival Date and
all others



  • Tim_RobertsTim_Roberts Member - All Emails Posts: 14,402

    Everything Device Manager does can be done with the SetupDi APIs. That's how it does what it does. They are wordy and somewhat tedious to use, but it's all there.

    Tim Roberts, [email protected]
    Providenza & Boekelheide, Inc.

  • MBond2MBond2 Member Posts: 494

    you will have to use pinvoke and the setupdi APIs. On purpose, none of this information is exposed via any of the standard namespaces

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 30 January 2023 Live, Online
Developing Minifilters 20 March 2023 Live, Online
Writing WDF Drivers TBD 2023 Live, Online
Internals & Software Drivers 17 April 2023 Live, Online