CngKey.Delete Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the key that is associated with the object.
public:
void Delete();
public void Delete ();
[System.Security.SecurityCritical]
public void Delete ();
member this.Delete : unit -> unit
[<System.Security.SecurityCritical>]
member this.Delete : unit -> unit
Public Sub Delete ()
- Attributes
Exceptions
An attempt was made to access a deleted key.
All other errors.
Remarks
- When you call the Delete method on an ephemeral key, it closes the handle to the key.
When you call the Delete method on a named key, the CngKey object can no longer be used after the named key is deleted.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา