Partager via


ICorDebugProcess2::GetVersion Method

Gets the version number of the common language runtime (CLR) which is running in this process.

HRESULT GetVersion (
    [out] COR_VERSION               *version
);

Parameters

Parameter Description

version

[out] A pointer to a COR_VERSION Structure 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugProcess2 Interface
ICorDebugProcess Interface