Is it possible to get what DirectX version is currently in use?

Did u find a solution? Looking for that, too.