public static long GetFileSize(RAPI rapi, string filename) { return(rapi.GetDeviceFileSize(filename)); }