I need to detect GPU (videocard) and set app settings appropriate to GPU performance.
I'm able to make a list with settings for each GPU model, but I don't understand how to detect GPU model installed in PC easily.

What is the bast way to solve this task? Does any way to do this that is not dependent on installed driver?