Hi All,
I have a C# dll which consumes a web services using a certificate, in 2012 we provided the certificate in a local path, and passed the path to C# dll, now I ma trying to attach the certificate within the c# dll and consume it.
public ExchangeRateWSClient(string serviceUrl)
{
try
{
byte[] cert = Properties.Resources.Bloomberg;
currencyPairList = new List<string>();
clientCert = new X509Certificate2(cert, "test");
serviceEndpointAddress = serviceUrl;
pollInterval = 5000;
}
catch (Exception e)
{
throw new Exception(string.Format(e.Message));
}
}
but the point is the certificate expires after every 3 yrs in that case we have to build the dll again with the new certificate.
I want to embed certificate in ax ax project and then pass it to .net dll.
*This post is locked for comments
I have the same question (0)