GetFileVersionInfo

[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern bool GetFileVersionInfo(
   string lptstrFilename,
   uint dwHandle,
   uint dwLen,
   IntPtr lpData
);

Microsoft documentation: Link

Last updated