private static Int64 GetSizeHelper(string path) { using (var pin = new PinCollection()) { Int64 size = 0; NativeCommon.FabricFileGetSize( pin.AddBlittable(path), out size); return(size); } }