public DiadocConnector() { try { this.ApiKey = "gradient-c5a5fb07-eafa-495c-9240-557096c92fff"; this.crypt = new Diadoc.Api.Cryptography.WinApiCrypt(); this.api = new Diadoc.Api.DiadocApi(this.ApiKey, apiUrl, this.crypt); } catch { } }
public void Initialize(string apiClientId, string serverUrl) { diadoc = new DiadocApi(apiClientId, serverUrl, new WinApiCrypt()); }