How can I get NVENC capabilities from a C# program ?


I have a .NET program written in C#. And I’m looking for the easiest way to check NVENC availability on a Windows operating system.

I need to know :
. if the NVidia GPU supports H.264 and H.265
. and how many encoding threads are available (because I read some GeForce cards can execute only 2 tasks simultaneously at max).

Is there a library I can embed directly in my .NET project to get these hardware informations ?

Thanks alot for the NVidia technical dev support :)
It’s like working with you.

What’s the answer here? I’m looking for the solution to the same problem.