Esempio n. 1
0
 /// <summary>
 /// Removes a preference node by domain and/or key name.
 /// </summary>
 /// <param name="client">
 /// An initialized lockdownd client.
 /// </param>
 /// <param name="domain">
 /// The domain to query on or NULL for global domain
 /// </param>
 /// <param name="key">
 /// The key name to remove or NULL remove all keys for the current domain
 /// </param>
 /// <returns>
 /// LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client is NULL
 /// </returns>
 /// <remarks>
 /// : Use with caution as this could remove vital information on the device
 /// </remarks>
 public virtual LockdownError lockdownd_remove_value(LockdownClientHandle client, string domain, string key)
 {
     return(LockdownNativeMethods.lockdownd_remove_value(client, domain, key));
 }