Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the version number of the common language runtime (CLR) that is running in this process.
Syntax
HRESULT GetVersion (
[out] COR_VERSION *version
);
Parameters
version
[out] A pointer to a COR_VERSION structure that stores the version number of the runtime.
Remarks
The GetVersion
method returns an error code if no runtime has been loaded in the process.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0