📅  最后修改于: 2022-03-11 14:49:14.499000             🧑  作者: Mango
var response = await client.GetAsync(...);
if (response.IsSuccessStatusCode)
{
// Handle success
}
else
{
// Handle failure
}