internal async Task<string> HttpPutAsync(string commandUrl, string body)
{
using (var client = new HttpClient())
{
Uri uri = new Uri($"http://{UrlBase}{commandUrl}");
HttpResponseMessage response = await client.PutAsync(uri, new HttpStringContent(body));
return await response.Content.ReadAsStringAsync();
}
}
}