public static int AsInt32 (IntPtr handle) { int value; if (handle == IntPtr.Zero) return 0; CFNumberGetValue (handle, 9, out value); return value; }