Opens an X.509 certificate store or creates a new store, depending on System.Security.Cryptography.X509Certificates.OpenFlags flag settings.
Use this method to open an existing X.509 store. Note that you must have additional permissions, specified by System.Security.Permissions.StorePermissionFlags, to enumerate the certificates in the store. You can create a new store by passing a store name that does not exist to the class constructor, and then using any of the System.Security.Cryptography.X509Certificates.OpenFlags flags except OpenFlags.OpenExistingOnly.