73 references to Utilities
WsatUI (73)
Configuration\CertificateManager.cs (2)
29
if (
Utilities
.IsLocalMachineName(machineName))
235
if (
Utilities
.SafeCompare(cert.Thumbprint, thumbprint))
Configuration\ClusterRegistryConfigurationProvider.cs (2)
118
Utilities
.Log("ClusterRegQueryValue [" + name + "], returned [" + ret + "]");
347
if (
Utilities
.IsCriticalException(e))
Configuration\FirewallWrapper.cs (1)
106
if (port.Port == portToRemove &&
Utilities
.SafeCompare(port.Name, SR.GetString(SR.HTTPSPortName)))
Configuration\MsdtcClusterUtils.cs (9)
26
SafeHCluster hCluster = SafeNativeMethods.OpenCluster(
Utilities
.IsLocalMachineName(machineName) ? null : machineName);
41
SafeHCluster hCluster = SafeNativeMethods.OpenCluster(
Utilities
.IsLocalMachineName(machineName) ? null : machineName);
100
if (
Utilities
.OSMajor <= 5)
102
if (
Utilities
.IsLocalMachineName(virtualServerName))
128
Utilities
.Log("Resource network name: " + networkName);
129
if (
Utilities
.SafeCompare(networkName, virtualServerName))
179
Utilities
.Log("Entered IsTransactionManager - ");
182
Utilities
.Log("Resource type name: " + resourceType);
280
Utilities
.Log("Found a node: [" + sb.ToString() + "]");
Configuration\MsdtcWrapper.cs (6)
42
return
Utilities
.IsLocalMachineName(machineName) ?
Utilities
.LocalHostName : machineName;
45
return
Utilities
.IsLocalMachineName(machineName) ? string.Empty : machineName;
106
Utilities
.Log("Unable to query IDtcNetworkAccessConfig" + hr);
108
if (
Utilities
.IsLocalMachineName(machineName))
122
if (
Utilities
.GetOSMajor(machineName) > 5 && MsdtcClusterUtils.IsClusterServer(machineName))
Configuration\RegistryExceptionHelper.cs (1)
38
string registryBase =
Utilities
.IsLocalMachineName(machineName) ? string.Empty : SR.GetString(SR.RemoteRegistryFormat, machineName);
Configuration\RemoteHelper.cs (3)
63
Utilities
.Log("ExecuteWsatProcess(" + arguments + ")");
116
if (
Utilities
.IsCriticalException(e))
135
Utilities
.Log("ExecuteWSATProcess successfully quitted.");
Configuration\StdRegProviderWrapper.cs (5)
83
if (
Utilities
.IsLocalMachineName(machineName))
184
if (
Utilities
.IsCriticalException(e))
223
if (
Utilities
.IsCriticalException(e))
255
if (
Utilities
.IsCriticalException(e))
278
if (
Utilities
.IsCriticalException(e))
Configuration\Utilities.cs (8)
73
if (
Utilities
.IsCriticalException(ex))
94
if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingOff))
98
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingError))
102
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingCritical))
106
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingWarning))
110
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingInformation))
114
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingVerbose))
118
else if (
Utilities
.SafeCompare(levelString, CommandLineOption.TracingAll))
Configuration\WsatConfiguration.cs (15)
264
ValidateIdentityCertificateThrow(this.X509Certificate, !
Utilities
.IsLocalMachineName(MachineName));
304
if (
Utilities
.OSMajor > 5)
326
TransactionBridgeEnabled =
Utilities
.SafeCompare(value, TransactionBridgeRegistryValue);
328
TransactionBridge30Enabled =
Utilities
.SafeCompare(value, TransactionBridge30RegistryValue);
348
get { return !IsClustered &&
Utilities
.IsLocalMachineName(this.MachineName); }
433
if (
Utilities
.SafeCompare(node,
Utilities
.LocalHostName))
463
if (
Utilities
.IsCriticalException(e))
476
Utilities
.Log("Save - LocalMachine");
490
Utilities
.Log("Save - Cluster Remote Node");
502
Utilities
.Log("Save - Cluster");
515
Utilities
.Log("Save - Remote");
583
Utilities
.Log("Remote command arguments: " + arguments);
689
if (
Utilities
.IsCriticalException(e))
729
if (
Utilities
.IsCriticalException(e))
Configuration\WsatServiceAddress.cs (2)
27
if (
Utilities
.IsHttpApiLibAvailable)
35
if (
Utilities
.IsHttpApiLibAvailable)
Configuration\WsatServiceCertificate.cs (2)
27
if (
Utilities
.IsHttpApiLibAvailable)
35
if (
Utilities
.IsHttpApiLibAvailable)
MMCUI\AcceptedCertificatesForm.cs (1)
79
if (
Utilities
.SafeCompare(allowedCertificates[j], store[i].Thumbprint))
MMCUI\TraceOptionsForm.cs (2)
87
if (!
Utilities
.ParseSourceLevel(traceLevelString, out traceLevel))
115
if (
Utilities
.ParseSourceLevel(item.ToString(), out level))
MMCUI\WSATControl.cs (6)
80
Utilities
.Log("CheckNetworkDtcAccessStatus");
96
Utilities
.Log("CheckNetworkDtcAccessStatus: msdtc.GetNetworkTransactionAccess = false");
104
Utilities
.Log("CheckNetworkDtcAccessStatus: msdtc.GetNetworkTransactionAccess = true");
180
if (
Utilities
.IsLocalMachineName(machineName) && !IsLocalAdmin())
344
if (ACLWrapper.EditACLSecurity(new WsatSecurityModel(
Utilities
.LocalHostName, config), this.Handle))
389
Utilities
.Log("selected allowed client cert [0]: " + this.config.X509GlobalAcl[0]);
MMCUI\WSATPropertySheet.cs (8)
81
if (
Utilities
.OSMajor <= 5)
91
if (!
Utilities
.IsLocalMachineName(machineName) && MsdtcClusterUtils.IsClusterServer(machineName))
119
if (!
Utilities
.SafeCompare(dtcHostName, virtualServer))
166
if (
Utilities
.IsCriticalException(ex))
270
if (
Utilities
.OSMajor > 5)
364
return
Utilities
.SafeCompare(machineName, "My Computer") ? "localhost" : machineName;
436
if (
Utilities
.IsCriticalException(ex))
460
if (
Utilities
.IsCriticalException(ex))