internal static bool CheckClientCertificate(HttpRequest request) { return(FaultInjection.TraceTest <bool>((FaultInjection.LIDs) 4213583165U) || (request != null && request.ClientCertificate != null && request.ClientCertificate.IsValid && string.Compare(request.ServerVariables["AUTH_TYPE"], "SSL/PCT", StringComparison.OrdinalIgnoreCase) == 0)); }