/// <summary> /// Creates a new <see cref="iDeviceActivationRequestHandle"/> from a <see cref="IntPtr"/>. /// </summary> /// <param name="unsafeHandle"> /// The underlying <see cref="IntPtr"/> /// </param> /// <param name="ownsHandle"> /// <see langword="true"/> to reliably release the handle during the finalization phase; <see langword="false"/> to prevent reliable release (not recommended). /// </param> /// <returns> /// </returns> public static iDeviceActivationRequestHandle DangerousCreate(System.IntPtr unsafeHandle, bool ownsHandle) { iDeviceActivationRequestHandle safeHandle = new iDeviceActivationRequestHandle(ownsHandle); safeHandle.SetHandle(unsafeHandle); return(safeHandle); }
public static void idevice_activation_request_get_url(iDeviceActivationRequestHandle request, out string url) { System.Runtime.InteropServices.ICustomMarshaler urlMarshaler = NativeStringMarshaler.GetInstance(null); System.IntPtr urlNative = System.IntPtr.Zero; iDeviceActivationNativeMethods.idevice_activation_request_get_url(request, out urlNative); url = ((string)urlMarshaler.MarshalNativeToManaged(urlNative)); urlMarshaler.CleanUpNativeData(urlNative); }
public virtual iDeviceActivationError idevice_activation_send_request(iDeviceActivationRequestHandle request, out iDeviceActivationResponseHandle response) { iDeviceActivationError returnValue; returnValue = iDeviceActivationNativeMethods.idevice_activation_send_request(request, out response); response.Api = this.Parent; return(returnValue); }
public static void idevice_activation_request_get_field(iDeviceActivationRequestHandle request, string key, out string value) { System.Runtime.InteropServices.ICustomMarshaler valueMarshaler = NativeStringMarshaler.GetInstance(null); System.IntPtr valueNative = System.IntPtr.Zero; iDeviceActivationNativeMethods.idevice_activation_request_get_field(request, key, out valueNative); value = ((string)valueMarshaler.MarshalNativeToManaged(valueNative)); valueMarshaler.CleanUpNativeData(valueNative); }
public virtual void idevice_activation_request_set_fields(iDeviceActivationRequestHandle request, PlistHandle fields) { iDeviceActivationNativeMethods.idevice_activation_request_set_fields(request, fields); }
public virtual void idevice_activation_request_get_fields(iDeviceActivationRequestHandle request, out PlistHandle fields) { iDeviceActivationNativeMethods.idevice_activation_request_get_fields(request, out fields); fields.Api = this.Parent; }
public virtual iDeviceActivationError idevice_activation_drm_handshake_request_new(iDeviceActivationClientType clientType, out iDeviceActivationRequestHandle request) { iDeviceActivationError returnValue; returnValue = iDeviceActivationNativeMethods.idevice_activation_drm_handshake_request_new(clientType, out request); request.Api = this.Parent; return(returnValue); }
public virtual iDeviceActivationError idevice_activation_request_new_from_lockdownd(iDeviceActivationClientType activationType, System.IntPtr lockdown, out iDeviceActivationRequestHandle request) { iDeviceActivationError returnValue; returnValue = iDeviceActivationNativeMethods.idevice_activation_request_new_from_lockdownd(activationType, lockdown, out request); request.Api = this.Parent; return(returnValue); }
public virtual void idevice_activation_request_set_url(iDeviceActivationRequestHandle request, string url) { iDeviceActivationNativeMethods.idevice_activation_request_set_url(request, url); }
public static extern iDeviceActivationError idevice_activation_request_new_from_lockdownd(iDeviceActivationClientType activationType, System.IntPtr lockdown, out iDeviceActivationRequestHandle request);
public static extern iDeviceActivationError idevice_activation_send_request(iDeviceActivationRequestHandle request, out iDeviceActivationResponseHandle response);
public static extern void idevice_activation_request_set_url(iDeviceActivationRequestHandle request, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string url);
public static extern void idevice_activation_request_get_url(iDeviceActivationRequestHandle request, out System.IntPtr url);
public static extern void idevice_activation_request_get_field(iDeviceActivationRequestHandle request, [System.Runtime.InteropServices.MarshalAsAttribute(System.Runtime.InteropServices.UnmanagedType.LPStr)] string key, out System.IntPtr value);
public static extern void idevice_activation_request_set_fields_from_response(iDeviceActivationRequestHandle request, iDeviceActivationResponseHandle response);
public static extern void idevice_activation_request_set_fields(iDeviceActivationRequestHandle request, PlistHandle fields);
public static extern iDeviceActivationError idevice_activation_drm_handshake_request_new(iDeviceActivationClientType clientType, out iDeviceActivationRequestHandle request);
public virtual void idevice_activation_request_get_field(iDeviceActivationRequestHandle request, string key, out string value) { iDeviceActivationNativeMethods.idevice_activation_request_get_field(request, key, out value); }
public virtual void idevice_activation_request_set_fields_from_response(iDeviceActivationRequestHandle request, iDeviceActivationResponseHandle response) { iDeviceActivationNativeMethods.idevice_activation_request_set_fields_from_response(request, response); }
public static extern iDeviceActivationError idevice_activation_request_new(iDeviceActivationClientType activationType, out iDeviceActivationRequestHandle request);