internal override async Task<bool> VerifyAsync(string path)
{
using (var client = GetClient())
{
HttpResponseMessage response = await client.PostAsJsonAsync("api/site/verify", path);
if (response.IsSuccessStatusCode)
{
var succeeded = (bool)await response.Content.ReadAsAsync(typeof(bool));
return succeeded;
}
return false;
}
}