Пример #1
0
        public void FindMachineCertificates(StoreName storeName, X509FindType type, object value)
        {
            var certs1 = CertUtils.FindCertificates(StoreLocation.LocalMachine, storeName, type, value, validOnly: true);
            var certs2 = CertUtils.FindMachineCertificates(type, value, storeName, validOnly: true);

            Assert.That(certs1, Is.EqualTo(certs2));
        }