ICorDebugProcess2::GetVersion Method
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.