Figure out whether DirectX is installed or not

  • Thread starter Thread starter Markus
  • Start date Start date
M

Markus

Hallo,

i am writing a C# application using dotnet.
My problem is: The application has to figure out whether DirectX is
installed or not.
Can anybody tell me how to do this?

Thanks
 
check for registry key

HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX

To get version read "Version" string in the same location
 
Back
Top