COR_VERSION Structure

Stores the standard four-part version number of the common language runtime.

Syntax

typedef struct _COR_VERSION {  
    DWORD dwMajor;  
    DWORD dwMinor;  
    DWORD dwBuild;  
    DWORD dwSubBuild;  
} COR_VERSION;  

Members

Member Description
dwMajor The major version number.
dwMinor The minor version number.
dwBuild The build number.
dwSubBuild The sub-build number.

Remarks

If the version number is 1.0.3705.288, 1 is the major version number, 0 is the minor version number, 3705 is the build number, and 288 is the sub-build number.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also