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) and GetCORSystemDirectory () and then
  • try to get GetCorSystemDirectory () by the received pointer. Switch to.

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

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -