36 references to SafeCompare
WsatConfig (36)
CommandLine\ArgumentsParser.cs (11)
151if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 157else if (Utilities.SafeCompare(value, CommandLineOption.Disable)) 258if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 263else if (Utilities.SafeCompare(value, CommandLineOption.Disable)) 281if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 286else if (Utilities.SafeCompare(value, CommandLineOption.Disable)) 304if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 309else if (Utilities.SafeCompare(value, CommandLineOption.Disable)) 327if (Utilities.SafeCompare(value, CommandLineOption.CertMachine)) 414if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 419else if (Utilities.SafeCompare(value, CommandLineOption.Disable))
CommandLine\ConsoleEntryPoint.cs (6)
177if (Utilities.SafeCompare(arg, CommandLineOption.Help) || 178Utilities.SafeCompare(arg, CommandLineOption.Help_short1) || 179Utilities.SafeCompare(arg, CommandLineOption.Help_short2)) 186if (Utilities.SafeCompare(arg, CommandLineOption.Show)) 193if (Utilities.SafeCompare(arg, CommandLineOption.Restart)) 201if (Utilities.SafeCompare(ArgumentsParser.ExtractOption(arg, out value), CommandLineOption.ClusterVirtualServer))
Configuration\CertificateManager.cs (5)
150if (Utilities.SafeCompare(subjectName, "{EMPTY}")) 166if (!Utilities.SafeCompare(issuer, "*")) 170if (certs.Count > 0 && !Utilities.SafeCompare(subjectName, "*")) 235if (Utilities.SafeCompare(cert.Thumbprint, thumbprint)) 271if (Utilities.SafeCompare(cert.GetNameInfo(X509NameType.DnsName, false), hostName))
Configuration\MsdtcClusterUtils.cs (1)
129if (Utilities.SafeCompare(networkName, virtualServerName))
Configuration\Utilities.cs (10)
94if (Utilities.SafeCompare(levelString, CommandLineOption.TracingOff)) 98else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingError)) 102else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingCritical)) 106else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingWarning)) 110else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingInformation)) 114else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingVerbose)) 118else if (Utilities.SafeCompare(levelString, CommandLineOption.TracingAll)) 180return (string.IsNullOrEmpty(machineName) || SafeCompare(machineName, "localhost") || 181SafeCompare(machineName, localizedMyComputerString) || SafeCompare(machineName, LocalHostName));
Configuration\WsatConfiguration.cs (3)
326TransactionBridgeEnabled = Utilities.SafeCompare(value, TransactionBridgeRegistryValue); 328TransactionBridge30Enabled = Utilities.SafeCompare(value, TransactionBridge30RegistryValue); 433if (Utilities.SafeCompare(node, Utilities.LocalHostName))