/// <summary> /// Retrieves a preferences plist using an optional 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 request or NULL to query for all keys /// </param> /// <param name="value"> /// A plist node representing the result value node /// </param> /// <returns> /// LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client is NULL /// </returns> public virtual LockdownError lockdownd_get_value(LockdownClientHandle client, string domain, string key, out PlistHandle value) { LockdownError returnValue; returnValue = LockdownNativeMethods.lockdownd_get_value(client, domain, key, out value); value.Api = this.Parent; return(returnValue); }