I'm trying to check if there's OpenGL on PC with C#, but didn't found any simple solution for now. I'm looking the simplest and the best way to do that, something like:
if ( exists_OpenGL ) MessageBox.Show( "yeah, go do your stuff..." );
So please, can anyone help me with a code which would be fast and simply enough?
On most operating systems you'll find the API library. This however tells you nothing about the actual OpenGL capabilities. The only way to check for what's available is to create a minimal OpenGL context and query its properties (version, renderer, available extensions).