public static void DeleteImage(IntPtr blob) { if (IntPtr.Size == 8) { NativeMethods64.DeleteImage(blob); } else { NativeMethods32.DeleteImage(blob); } }