views:

276

answers:

3

How can the display driver version be programatically obtained on the Mac?


Related:

+2  A: 

Apple -> About This Mac -> More Info

Expand the Hardware drop-down and click on the Graphics/Display option

This will display all the information about the current video card and driver info.

jdiaz
That's programatically? Sounds a bit … unusual. What language are you using for that ;)
Jim Dovey
not programatically. Guess I answered before the question was updated.
jdiaz
A: 

From the command line run system_profiler. Get the same data as the GUI based answer.

dmckee
+1  A: 

Look a IOKit and the IORegistryExplorer application.

Specifically, you'll want to search IOKit for devices with a name of 'display' and you'll get the device node from which you can pull data. Use the IORegistryExplorer application to see what sort of attributes are available from that object, and what types of data they are, etc.

Jim Dovey