public string AuthenticateByKey([NotNull] string key, [NotNull] string id) { if (key == null) { throw new ArgumentNullException("key"); } if (id == null) { throw new ArgumentNullException("id"); } return(diadocHttpApi.AuthenticateByKey(key, id)); }