CPlusPlus changing parameters

This question has been asked and answered before, but it was a couple years ago so I’ll ask again.
Here’s the original question: [url]Changing parameter value from CPlusPlus DLL - General TouchDesigner Discussion - TouchDesigner forum
I’m trying to build a custom TOP for the kinect for azure similar to the realsense op
I have a menu of connected devices as a parameter menu , but i need to be able to run the top and find all the available devices to populate the menu.

is the best method still to use a dat execute or has something else come along?

thanks