.
Summary
Determines whether the operating system can retrieve version information for a specified file. If version information is available,
GetFileVersionInfoSize returns the size, in bytes, of that information.
C# Signature:
[DllImport("version.dll")]
static extern int GetFileVersionInfoSize(string fileName, [Out]IntPtr dummy);
VB Signature:
Declare Function GetFileVersionInfoSize Lib "version.dll" (fileName As String, <Out> dummy As IntPtr) As Integer
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
GetFileVersionInfoSize(@"c:\someFolder\someFile.dll", IntPtr.Zero);
Documentation
Determines whether the operating system can retrieve version information for a specified file. If version information is available, GetFileVersionInfoSize returns the size, in bytes, of that information.
3/29/2017 11:22:11 AM - -178.121.194.173