title: how to know which 3D API an application uses?
body: <p>If I was given an arbitrary 3D application, say a screensaver, or a game, how can I know which DirectX or OpenGL version it is using during runtime?  Assuming I have no information about the binary to be google online, like say somebody just wrote a DirectX demo and give it to me.</p>