using System.Collections.Concurrent; using System.Collections.Generic; using System.Security.Cryptography.X509Certificates; namespace UMC.ITME { public class Certificater { static ConcurrentDictionary _Hosts = new ConcurrentDictionary(); public static ConcurrentDictionary UnCertificatesHosts { get { return _Hosts; } } public static Dictionary Certificates { get { return _certificates; } } static Dictionary _certificates = new Dictionary(); public string Name { get; set; } public X509Certificate2 Certificate { get; set; } public int Time { get; set; } } }