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

◆ Delete()

void System.Security.Cryptography.CngKey.Delete ( )
inline

Definition at line 750 of file CngKey.cs.

751 {
752 global::Interop.NCrypt.ErrorCode errorCode = global::Interop.NCrypt.NCryptDeleteKey(_keyHandle, 0);
753 if (errorCode != 0)
754 {
755 throw errorCode.ToCryptographicException();
756 }
758 Dispose();
759 }
readonly SafeNCryptKeyHandle _keyHandle
Definition CngKey.cs:11

References System.Security.Cryptography.CngKey._keyHandle, System.Security.Cryptography.CngKey.Dispose(), and System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid().