Ejemplo n.º 1
0
        public void BasicEnumeratePhysical()
        {
            string[] knownPhysical = { ".Default", ".AuthRoot", ".GroupPolicy", ".Enterprise" };
            var      physical      = CryptoMethods.EnumeratePhysicalStores(SystemStoreLocation.CERT_SYSTEM_STORE_LOCAL_MACHINE, "Root");

            knownPhysical.Should().BeSubsetOf(physical.Select(p => p.PhysicalStoreName));
        }