Please tell me the method (s) of checking the presence of installed versions of the .NET Framework in the system, and some reliable method (s) of checking their correct functioning.
In particular, verification of version 2.0 for Windows10-x64 is very much needed.
So far I have found several examples on the network on VBS (like this ), but it's difficult to call them tests - there is a simple check of registry keys. I would like something more substantial.
About "more substantial" verification
We need a program that consistently makes calls from .NET (according to versions), and if for some reason calls end with an error, this should be displayed in the results.
A simple example. .NET 3.5 is installed, but one of the dynamic libraries has been removed - let the virus work, for example. In fact, there are directories, and everything is written in the registry - but the performance has been broken. I call this check "more substantial".