The typical code would look like. And upon out of scope of using, the Network Service permission will be deleted. using (X509Certificate2 cert = new X509Certificate2(bytes)) { thumbprint = cert.Thumbprint; }
The typical code would look like. And upon out of scope of using, the Network Service permission will
be deleted.
using (X509Certificate2 cert = new X509Certificate2(bytes))
{
thumbprint = cert.Thumbprint;
}