34 references to CurrentUser
System (9)
net\System\Net\_SecureChannel.cs (1)
391
StoreLocation storeLocation = isMachineStore? StoreLocation.LocalMachine: StoreLocation.
CurrentUser
;
net\System\Net\UnsafeNativeMethods.cs (1)
1700
X509Store store = new X509Store(StoreName.My, StoreLocation.
CurrentUser
);
security\system\security\cryptography\x509\x509store.cs (6)
52
public X509Store () : this("MY", StoreLocation.
CurrentUser
) {}
54
public X509Store (string storeName) : this (storeName, StoreLocation.
CurrentUser
) {}
56
public X509Store (StoreName storeName) : this(storeName, StoreLocation.
CurrentUser
) {}
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)
124
else if (storeLocation == StoreLocation.
CurrentUser
)
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (1)
417
storeLocation = StoreLocation.
CurrentUser
;
System.IdentityModel (5)
System\IdentityModel\Selectors\X509CertificateStore.cs (2)
63
if (storeLocation != StoreLocation.
CurrentUser
&& storeLocation != StoreLocation.LocalMachine)
375
else if (storeLocation == StoreLocation.
CurrentUser
)
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
124
X509CertificateStore store = new X509CertificateStore(storeName, StoreLocation.
CurrentUser
);
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (1)
152
trustedStoreLocation = StoreLocation.
CurrentUser
;
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (1)
191
trustedStoreLocation = StoreLocation.
CurrentUser
;
System.Security (3)
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
1047
X509Store cuMy = new X509Store("MY", StoreLocation.
CurrentUser
);
1085
X509Store cuMy = new X509Store("AddressBook", StoreLocation.
CurrentUser
);
system\security\cryptography\xml\utils.cs (1)
882
stores[0] = new X509Store(storeName, StoreLocation.
CurrentUser
);
System.ServiceModel (12)
System\ServiceModel\Configuration\Properties.cs (6)
4055
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4082
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4189
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4218
properties.Add(new ConfigurationProperty("trustedStoreLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4449
properties.Add(new ConfigurationProperty("storeLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
4478
properties.Add(new ConfigurationProperty("trustedStoreLocation", typeof(System.Security.Cryptography.X509Certificates.StoreLocation), System.Security.Cryptography.X509Certificates.StoreLocation.
CurrentUser
, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreLocation)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Security\PeerCredential.cs (1)
13
internal const StoreLocation DefaultStoreLocation = StoreLocation.
CurrentUser
;
System\ServiceModel\Security\SecurityUtils.cs (1)
47
return (value == StoreLocation.
CurrentUser
System\ServiceModel\Security\X509CertificateInitiatorClientCredential.cs (1)
12
internal const StoreLocation DefaultStoreLocation = StoreLocation.
CurrentUser
;
System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (1)
16
internal const StoreLocation DefaultStoreLocation = StoreLocation.
CurrentUser
;
System\ServiceModel\Security\X509PeerCertificateAuthentication.cs (1)
16
internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.
CurrentUser
;
System\ServiceModel\Security\X509ServiceCertificateAuthentication.cs (1)
17
internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.
CurrentUser
;
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
360
X509Store store = new X509Store(StoreName.Disallowed, StoreLocation.
CurrentUser
);
455
store = new X509Store(StoreName.TrustedPublisher, StoreLocation.
CurrentUser
);
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
1201
X509Store store = new X509Store(StoreLocation.
CurrentUser
);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
897
X509Store store = new X509Store(StoreLocation.
CurrentUser
);