Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GetFileVersion Function

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


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.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

.NET Framework Version: 2.0, 1.1

Community Additions

ADD
Show:
© 2015 Microsoft