44 references to LocalMachine
System (5)
net\System\Net\_SecureChannel.cs (1)
391
StoreLocation storeLocation = isMachineStore? StoreLocation.
LocalMachine
: StoreLocation.CurrentUser;
security\system\security\cryptography\x509\x509store.cs (3)
64
if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.
LocalMachine
)
103
if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.
LocalMachine
)
148
if (m_location != StoreLocation.CurrentUser && m_location != StoreLocation.
LocalMachine
)
security\system\security\cryptography\x509\x509utils.cs (1)
122
if (storeLocation == StoreLocation.
LocalMachine
)
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (2)
397
StoreLocation storeLocation = StoreLocation.
LocalMachine
; // Default to Local Machine
413
storeLocation = StoreLocation.
LocalMachine
;
System.IdentityModel (13)
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
33
public static readonly StoreLocation DefaultTrustedStoreLocation = StoreLocation.
LocalMachine
;
System\IdentityModel\Configuration\Properties.cs (1)
161
properties.Add(new ConfigurationProperty("trustedStoreLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.IdentityModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\Configuration\X509CertificateValidationElement.cs (1)
20
const StoreLocation DefaultStoreLocation = StoreLocation.
LocalMachine
;
System\IdentityModel\Selectors\X509CertificateStore.cs (2)
63
if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.
LocalMachine
)
373
if (storeLocation == StoreLocation.
LocalMachine
)
System\IdentityModel\Tokens\IssuerTokenResolver.cs (1)
25
public static readonly StoreLocation DefaultStoreLocation = StoreLocation.
LocalMachine
;
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (2)
29
static StoreLocation DefaultStoreLocation = StoreLocation.
LocalMachine
;
157
trustedStoreLocation = StoreLocation.
LocalMachine
;
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (1)
27
: this(System.Security.Cryptography.X509Certificates.StoreName.My, StoreLocation.
LocalMachine
)
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
33
private static StoreLocation defaultStoreLocation = StoreLocation.
LocalMachine
;
195
trustedStoreLocation = StoreLocation.
LocalMachine
;
System\IdentityModel\X509CertificateValidatorEx.cs (2)
48
bool useMachineContext = trustedStoreLocation == StoreLocation.
LocalMachine
;
58
bool useMachineContext = trustedStoreLocation == StoreLocation.
LocalMachine
;
System.Security (3)
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
1056
X509Store lmMy = new X509Store("MY", StoreLocation.
LocalMachine
);
1094
X509Store lmMy = new X509Store("AddressBook", StoreLocation.
LocalMachine
);
system\security\cryptography\xml\utils.cs (1)
883
stores[1] = new X509Store(storeName, StoreLocation.
LocalMachine
);
System.ServiceModel (19)
System\ServiceModel\Configuration\Properties.cs (6)
620
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
1491
properties.Add(new ConfigurationProperty("trustedStoreLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
3972
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.IsKey));
4001
properties.Add(new ConfigurationProperty("trustedStoreLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4028
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4161
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
LocalMachine
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\EndpointIdentity.cs (1)
27
internal const StoreLocation defaultStoreLocation = StoreLocation.
LocalMachine
;
System\ServiceModel\Security\IssuedTokenServiceCredential.cs (2)
19
internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.
LocalMachine
;
188
bool useMachineContext = this.trustedStoreLocation == StoreLocation.
LocalMachine
;
System\ServiceModel\Security\SecurityUtils.cs (1)
48
|| value == StoreLocation.
LocalMachine
);
System\ServiceModel\Security\X509CertificateInitiatorServiceCredential.cs (1)
12
internal const StoreLocation DefaultStoreLocation = StoreLocation.
LocalMachine
;
System\ServiceModel\Security\X509CertificateRecipientServiceCredential.cs (1)
13
internal const StoreLocation DefaultStoreLocation = StoreLocation.
LocalMachine
;
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (3)
18
internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.
LocalMachine
;
51
bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.
LocalMachine
;
168
bool useMachineContext = this.trustedStoreLocation == StoreLocation.
LocalMachine
;
System\ServiceModel\Security\X509PeerCertificateAuthentication.cs (2)
44
bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.
LocalMachine
;
123
bool useMachineContext = this.trustedStoreLocation == StoreLocation.
LocalMachine
;
System\ServiceModel\Security\X509ServiceCertificateAuthentication.cs (2)
47
bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.
LocalMachine
;
132
bool useMachineContext = this.trustedStoreLocation == StoreLocation.
LocalMachine
;
WsatConfig (2)
Configuration\CertificateManager.cs (2)
158
store = new X509Store(StoreName.My, StoreLocation.
LocalMachine
);
262
store = new X509Store(StoreName.My, StoreLocation.
LocalMachine
);