API/SDK to read framerate from NVIDIA App statistics?

Is there a way to programmatically read the framerate statistics that are shown in the NVIDIA App’s statistics overlay? I’m referring to the stats that show up when you press Alt-Z, Alt-R in Windows.

I wrote a bespoke stats tool that correlates FPS with other hardware metrics like CPU/GPU utilization, temperature, etc. I currently obtain this info from LibreHardwareMonitorLib and FRAPS, but I’m looking to replace the latter dependency with an NVIDIA API.

Is there an NVIDIA shared library or .NET assembly that I can query from another program or link directly in my app?