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