/// <summary> /// Uninstall an application from the device. /// </summary> /// <param name="client"> /// The connected installation proxy client /// </param> /// <param name="appid"> /// ApplicationIdentifier of the app to uninstall /// </param> /// <param name="client_options"> /// The client options to use, as PLIST_DICT, or NULL. /// Currently there are no known client options, so pass NULL here. /// </param> /// <param name="status_cb"> /// Callback function for progress and status information. If /// NULL is passed, this function will run synchronously. /// </param> /// <param name="user_data"> /// Callback data passed to status_cb. /// </param> /// <returns> /// INSTPROXY_E_SUCCESS on success or an INSTPROXY_E_* error value if /// an error occured. /// </returns> /// <remarks> /// If a callback function is given (async mode), this function returns /// INSTPROXY_E_SUCCESS immediately if the status updater thread has been /// created successfully; any error occuring during the command has to be /// handled inside the specified callback function. /// </remarks> public virtual InstallationProxyError instproxy_uninstall(InstallationProxyClientHandle client, string appid, PlistHandle clientOptions, InstallationProxyStatusCallBack statusCallBack, System.IntPtr userData) { return(InstallationProxyNativeMethods.instproxy_uninstall(client, appid, clientOptions, statusCallBack, userData)); }