Run-time exception (line -1): Safe handle has been closed
Stack Trace:
[System.ObjectDisposedException: Safe handle has been closed]
at System.StubHelpers.StubHelpers.DemandPermission(IntPtr pNMD)
at System.Security.Cryptography.SafeCspHandle.CryptReleaseContext(IntPtr hProv, Int32 dwFlags)
at System.Runtime.InteropServices.SafeHandle.InternalFinalize()
at System.Runtime.InteropServices.SafeHandle.Finalize()