How to find whether the .NET installed or not in the System by using c++? -
Is there an API available, to determine whether the .NET framework is installed in the system or not. Or atlest anybody how can i do this myself in c ++ and how does it even know where the .NET is installed if it is installed ??
How can I do this ...
Anyone like this Help will be appreciated
-
LoadLibrary ()
try mscoree.dll and then - just pass
GetProcAddress () to the coded loaded library)
andGetCORSystemDirectory () and then
- try to get
GetCorSystemDirectory ()
by the received pointer. Switch to. - try to get
If all steps are successful, then .NET has been installed. Do not forget to deal with the error - every step can fail and you need to make sure that your program is ready for it.
Comments
Post a Comment