/// <summary> /// Tests whether the M-Pin back-end service is operational by sending a request for retrieving the Client settings to back-end’s URL. /// </summary> /// <param name="backend">The URL of the M-Pin back-end service to test.</param> /// <param name="rpsPrefix">An optional string representing the prefix for the requests to the RPS. Required only if the default prefix has been changed. If not provided, the value defaults to rps.</param> /// <returns> A <see cref="Status"/> which indicates whether the operation was successful or not.</returns> public Status TestBackend(string backend, string rpsPrefix = "") { StatusWrapper status; lock (lockObject) { status = mPtr.TestBackend(backend, rpsPrefix); } return(new Status(status.Code, status.Error)); }