I have an issue with checking the signature of an XML file using .NET 3.5. It all works fine, but randomly the performance is poor. Sometimes it's instant and yet at other times it can take maybe 10 or 15 seconds to return.
I've checked the machine and nothing is going on to affect it's overall performance, and it's the same on different machines as well, so I don't think it's related to one machine.
I've narrowed it down precisely to the .CheckSignature() method, so once it hits that it's anybody's guess when it'll come back.
Anyone have any thoughts or advice?