Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ReleaseHandle()

override bool System.Security.Cryptography.SafeKeyHandle.ReleaseHandle ( )
inlineprotected

Definition at line 61 of file SafeKeyHandle.cs.

62 {
63 bool result = global::Interop.Advapi32.CryptDestroyKey(handle);
64 SafeProvHandle parent = _parent;
65 _parent = null;
66 parent?.DangerousRelease();
67 return result;
68 }

References System.Security.Cryptography.SafeKeyHandle._parent, System.Runtime.InteropServices.SafeHandle.DangerousRelease(), and System.Runtime.InteropServices.SafeHandle.handle.