private X509Certificate2 ChooseCertificate() { X509Certificate2 cert = FindCertificate(); if (cert == null) { CsEncrypt csEncrypt = new CsEncrypt(AzureTool.GetAzureSdkBinDirectory()); csEncrypt.CreateCertificate(); cert = FindCertificate(); } return(cert); }
private X509Certificate2 ChooseCertificate() { X509Certificate2 cert = FindCertificate(); if (cert == null) { CsEncrypt csEncrypt = new CsEncrypt(AzureTool.GetAzureSdkBinDirectory()); csEncrypt.CreateCertificate(); cert = FindCertificate(); } return cert; }