GetFileVersion Function
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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho