AicsKnowledgeBase_file/CommonResources/Resources.cs

9 lines
267 B
C#
Raw Normal View History

2023-07-03 17:57:56 +08:00
using System.Security.Cryptography.X509Certificates;
namespace CommonResources;
public static class Resources {
public static X509Certificate2 GetServerCertificate() {
return new X509Certificate2("../CommonResources/ssl/ssl-rsa.pfx", "auto");
}
}