Share via


ICorDebugProcess2::GetVersion Method

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

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICorDebugProcess2 Interface

ICorDebugProcess Interface