using (WebClient webClient = new WebClient())
{
webClient.Headers.Add("X-Venafi-Api-Key", myToken);
byte[] response = webClient.DownloadData(myUrl + "authorize/checkvalid");
JObject json = (JObject)JsonConvert.DeserializeObject(Encoding.UTF8
.GetString(response));
No comments:
Post a Comment