I'm trying to do a foreach loop of each Certificate in a
Certificates
collection. Note: This worked perfectly yesterday, and today
it
started throwing a bunch of exceptions.
basically C# says that
CAPICOM.CertificatesClass.GetEnumerator() is
throwing the exception, saying that "Unverifiable code
failed policy
check. blah blah blah"
What is going on here?
heres the code:
foreach(Certificate currentCert in certs)
{
try
{
localMachineStore.Remove(currentCert);
}
catch (System.Exception e)
{
writeToLogFile(e.Message);
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---
|