/// <summary> /// Sets a preferences value using a plist and optional 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 set the value or NULL to set a value dict plist /// </param> /// <param name="value"> /// a plist node of any node type representing the value to set /// </param> /// <returns> /// LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client or /// value is NULL /// </returns> public virtual LockdownError lockdownd_set_value(LockdownClientHandle client, string domain, string key, PlistHandle value) { return(LockdownNativeMethods.lockdownd_set_value(client, domain, key, value)); }