garantiza la excepción de UCCESSSTATUSCODE

var response = await client.GetAsync(...);
if (response.IsSuccessStatusCode)
{
    // Handle success
}
else
{
    // Handle failure
}
VKangry