How can I detect current nvidia driver New 3.1 toolkit seems able to detect installed version

Hi folks, titles almost says it all.
I noticed that the new beta toolkit warns you if your drivers are < 257.
I would like to perform this kind of checks in my own installer, is it possible?

Thanks a lot.

GPUZ, will let you know what driver version you have.
The NVIDIA control panel will also tell you under Help and then system information.

In linux, you can run

% cat /proc/driver/nvidia/version

Thanks guys but I’m looking for a query that could be automatic in a windows installer. Just like it’s done in the new toolbit installer.

try NVAPI.

Specifically NvAPI_EnumNvidiaDisplayHandle() + NvAPI_GetDisplayDriverVersion()