public static bool IsForbidden(this Exception ex) { return HasStatus(ex as WebException, HttpStatusCode.Forbidden); }