GetFileSizeEx Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool GetFileSizeEx(IntPtr hFile, out long lpFileSize);