This documentation is archived and is not being maintained.

GetCORRequiredVersion Function

Gets the required common language runtime (CLR) version number.

This function has been deprecated in the .NET Framework version 4.

HRESULT GetCORRequiredVersion (
    [out] LPWSTR   pbuffer,
    [in]  DWORD    cchBuffer,
    [out] DWORD   *dwLength
);

pbuffer

[out] A buffer containing a string that specifies the version number.

cchBuffer

[in] The size, in bytes, of the buffer.

dwLength

[out] The number of bytes returned in the buffer.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

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

Show: