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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugProcess2 Interface

ICorDebugProcess Interface