83 references to Utilities
WsatConfig (83)
CommandLine\ArgumentsParser.cs (13)
151if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 157else if (Utilities.SafeCompare(value, CommandLineOption.Disable)) 229bool parsedCorrectly = Utilities.ParseSourceLevel(value, out level); 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)) 397if (Utilities.IsCriticalException(e)) 414if (Utilities.SafeCompare(value, CommandLineOption.Enable)) 419else if (Utilities.SafeCompare(value, CommandLineOption.Disable))
CommandLine\ConsoleEntryPoint.cs (7)
146if (Utilities.IsCriticalException(e)) 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 (6)
29if (Utilities.IsLocalMachineName(machineName)) 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\ClusterRegistryConfigurationProvider.cs (2)
118Utilities.Log("ClusterRegQueryValue [" + name + "], returned [" + ret + "]"); 347if (Utilities.IsCriticalException(e))
Configuration\FirewallWrapper.cs (1)
106if (port.Port == portToRemove && Utilities.SafeCompare(port.Name, SR.GetString(SR.HTTPSPortName)))
Configuration\MsdtcClusterUtils.cs (8)
26SafeHCluster hCluster = SafeNativeMethods.OpenCluster(Utilities.IsLocalMachineName(machineName) ? null : machineName); 100if (Utilities.OSMajor <= 5) 102if (Utilities.IsLocalMachineName(virtualServerName)) 128Utilities.Log("Resource network name: " + networkName); 129if (Utilities.SafeCompare(networkName, virtualServerName)) 179Utilities.Log("Entered IsTransactionManager - "); 182Utilities.Log("Resource type name: " + resourceType); 280Utilities.Log("Found a node: [" + sb.ToString() + "]");
Configuration\MsdtcWrapper.cs (6)
42return Utilities.IsLocalMachineName(machineName) ? Utilities.LocalHostName : machineName; 45return Utilities.IsLocalMachineName(machineName) ? string.Empty : machineName; 106Utilities.Log("Unable to query IDtcNetworkAccessConfig" + hr); 108if (Utilities.IsLocalMachineName(machineName)) 122if (Utilities.GetOSMajor(machineName) > 5 && MsdtcClusterUtils.IsClusterServer(machineName))
Configuration\RegistryExceptionHelper.cs (1)
38string registryBase = Utilities.IsLocalMachineName(machineName) ? string.Empty : SR.GetString(SR.RemoteRegistryFormat, machineName);
Configuration\RemoteHelper.cs (3)
63Utilities.Log("ExecuteWsatProcess(" + arguments + ")"); 116if (Utilities.IsCriticalException(e)) 135Utilities.Log("ExecuteWSATProcess successfully quitted.");
Configuration\StdRegProviderWrapper.cs (5)
83if (Utilities.IsLocalMachineName(machineName)) 184if (Utilities.IsCriticalException(e)) 223if (Utilities.IsCriticalException(e)) 255if (Utilities.IsCriticalException(e)) 278if (Utilities.IsCriticalException(e))
Configuration\Utilities.cs (8)
73if (Utilities.IsCriticalException(ex)) 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))
Configuration\WsatConfiguration.cs (19)
264ValidateIdentityCertificateThrow(this.X509Certificate, !Utilities.IsLocalMachineName(MachineName)); 304if (Utilities.OSMajor > 5) 326TransactionBridgeEnabled = Utilities.SafeCompare(value, TransactionBridgeRegistryValue); 328TransactionBridge30Enabled = Utilities.SafeCompare(value, TransactionBridge30RegistryValue); 348get { return !IsClustered && Utilities.IsLocalMachineName(this.MachineName); } 433if (Utilities.SafeCompare(node, Utilities.LocalHostName)) 463if (Utilities.IsCriticalException(e)) 476Utilities.Log("Save - LocalMachine"); 490Utilities.Log("Save - Cluster Remote Node"); 502Utilities.Log("Save - Cluster"); 515Utilities.Log("Save - Remote"); 583Utilities.Log("Remote command arguments: " + arguments); 689if (Utilities.IsCriticalException(e)) 729if (Utilities.IsCriticalException(e)) 861sb.Append(SR.GetString(SR.ConfigNetworkSupport, Utilities.GetEnabledStatusString(this.TransactionBridgeEnabled || this.TransactionBridge30Enabled))); 913sb.Append(SR.GetString(SR.ConfigActivityTracing, Utilities.GetEnabledStatusString(this.ActivityTracing))); 914sb.Append(SR.GetString(SR.ConfigActivityProp, Utilities.GetEnabledStatusString(this.ActivityPropagation))); 915sb.Append(SR.GetString(SR.ConfigPiiTracing, Utilities.GetEnabledStatusString(this.TracePii)));
Configuration\WsatServiceAddress.cs (2)
27if (Utilities.IsHttpApiLibAvailable) 35if (Utilities.IsHttpApiLibAvailable)
Configuration\WsatServiceCertificate.cs (2)
27if (Utilities.IsHttpApiLibAvailable) 35if (Utilities.IsHttpApiLibAvailable)