internal static long GetAvailableAreaSize(int size) { long num = 1073741824; return((long)size * num - XciInfo.GetUnusedAreaSize(size) + (long)(XciInfo.PageSize * XciInfo.CardKeyAreaPageCount)); }