I am new to C/C++ more fluent in .net, but basically for a project im trying to do.
i need to create a C++ CLI that can check if the registry key "SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" exists. i would like to return the value in a boolean (true/false way)

i want to create a little cli that will just check if dotnet framework 2 is installed on the target PC.

i have no C/C++ experience. i have done bit searching around but had no luck. anyone have any pointers