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 2022 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,660

    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: 601

    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 16-20 October 2023 Live, Online
Developing Minifilters 13-17 November 2023 Live, Online
Internals & Software Drivers 4-8 Dec 2023 Live, Online
Writing WDF Drivers 10-14 July 2023 Live, Online