public static extern LockdownError lockdownd_get_device_udid(LockdownClientHandle client, out System.IntPtr udid);
 public static extern LockdownError lockdownd_goodbye(LockdownClientHandle client);
 public static extern void lockdownd_client_set_label(LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string label);
 public static extern LockdownError lockdownd_deactivate(LockdownClientHandle client);
 public static extern LockdownError lockdownd_enter_recovery(LockdownClientHandle client);
 public static extern LockdownError lockdownd_remove_value(LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string domain, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string key);
 public static extern LockdownError lockdownd_client_new(iDeviceHandle device, out LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string label);
 public static extern LockdownError lockdownd_pair_with_options(LockdownClientHandle client, LockdownPairRecordHandle pairRecord, PlistHandle options, out PlistHandle response);
 public static extern LockdownError lockdownd_unpair(LockdownClientHandle client, LockdownPairRecordHandle pairRecord);
 public static extern LockdownError lockdownd_send(LockdownClientHandle client, PlistHandle plist);
 public static extern LockdownError lockdownd_receive(LockdownClientHandle client, out PlistHandle plist);
 public static extern LockdownError lockdownd_stop_session(LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string sessionId);
 public static extern LockdownError lockdownd_start_session(LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string hostId, out System.IntPtr sessionId, ref int sslEnabled);
 public static extern LockdownError lockdownd_start_service_with_escrow_bag(LockdownClientHandle client, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string identifier, out LockdownServiceDescriptorHandle service);
 public static extern LockdownError lockdownd_get_device_name(LockdownClientHandle client, out System.IntPtr deviceName);
 public static extern LockdownError lockdownd_activate(LockdownClientHandle client, PlistHandle activationRecord);
 public static extern LockdownError lockdownd_get_sync_data_classes(LockdownClientHandle client, out System.IntPtr classes, ref int count);
示例#18
0
 public object MarshalNativeToManaged(System.IntPtr nativeData)
 {
     return(LockdownClientHandle.DangerousCreate(nativeData, false));
 }