/// <summary> /// Returns the value for a Client Setting with the given key. Client settings that might interest the applications are: /// accessNumberDigits - The number of access number digits that should be entered by the user, prior to calling <see cref="M:MPinSDK.MPin.AuthenticateAN">AuthenticateAN(user, accessNumber)</see> method. /// setDeviceName - Indicator (true/false) whether the application should ask the user to insert a Device Name and pass it to the MakeNewUser() method. /// appID - The App ID used by the backend. The App ID is a unique ID assigned to each customer or application. It is a hex-encoded long numeric value. The App ID can be used only for information purposes, it doesn't affect the application's behavior in any way. /// </summary> /// <remarks> The value is returned as a <see cref="T:System.String"/> always, i.e. when a numeric or a boolean value is expected, the conversion should be handled by by the application.</remarks> /// <param name="key">The key.</param> /// <returns>А <see cref="T:System.String"/> value for a Client Setting with the given key.</returns> public string GetClientParam(string key) { if (string.IsNullOrEmpty(key)) { return(string.Empty); } string param = string.Empty; lock (lockObject) { param = mPtr.GetClientParam(key); } return(param); }