Exemple #1
0
 public void Dispose()
 {
     if (handle != IntPtr.Zero)
     {
         CryptoAPI.CryptDestroyHash(handle);
         context.Dispose();
         GC.KeepAlive(this);
         handle = IntPtr.Zero;
         GC.SuppressFinalize(this);
     }
 }