Returns an enumeration that includes a valid ICLRRuntimeInfo interface pointer for each version of the common language runtime (CLR) that is loaded in a given process. This method supersedes the GetVersionFromProcess function.
HRESULT EnumerateLoadedRuntimes ( [in] HANDLE hndProcess, [out, retval] IEnumUnknown **ppEnumerator );
This method is lists all loaded runtimes, even if they were loaded with deprecated functions such as CorBindToRuntime.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 4.5, 4