How to remotely find the version of .Net framework

To remotely find out what version of Microsoft .Net Framework does a machine have installed, you can connect to its registry by running regedit and do a File -> Connect to Remote registry, and then look up the following key: HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP Sometimes more than one version of .Net Framework could be present