System.Security.Cryptography.X509Certificates.X509Store.X509Store C# (CSharp) Method

X509Store() public method

public X509Store ( string storeName, StoreLocation storeLocation ) : System.Diagnostics
storeName string
storeLocation StoreLocation
return System.Diagnostics
        public X509Store(string storeName, StoreLocation storeLocation)
        {
            if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.LocalMachine)
                throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, SR.Arg_EnumIllegalVal, nameof(storeLocation)));

            Location = storeLocation;
            Name = storeName;
        }

Same methods

X509Store::X509Store ( )
X509Store::X509Store ( System storeHandle )
X509Store::X509Store ( System storeName, System storeLocation )
X509Store::X509Store ( string storeName )
X509Store::X509Store ( string storeName, System storeLocation )
X509Store::X509Store ( ) : System.Diagnostics
X509Store::X509Store ( IntPtr storeHandle ) : System.Diagnostics
X509Store::X509Store ( StoreLocation storeLocation ) : System.Diagnostics
X509Store::X509Store ( StoreName storeName ) : System.Diagnostics
X509Store::X509Store ( StoreName storeName, StoreLocation storeLocation ) : System.Diagnostics
X509Store::X509Store ( string storeName ) : System.Diagnostics