添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

Gets the common language runtime (CLR) version information of the specified file, using the specified buffer.

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

Syntax

HRESULT GetFileVersion (  
    [in]  LPCWSTR      szFilename,
    [in, out] LPWSTR   szBuffer,
    [in]  DWORD        cchBuffer,
    [out] DWORD        *dwLength  

Parameters

szFilename
[in] The path of the file to be examined.

szBuffer
[in, out] The buffer allocated for the version information that is returned.

cchBuffer
[in] The size, in wide characters, of szBuffer.

dwLength
[out] The size, in bytes, of the returned szBuffer.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

.NET Framework Versions: Available since 1.1

See also

  • Deprecated CLR Hosting Functions
  •