CngKey.Handle 속성

정의

네이티브 키를 나타내는 SafeHandle(NCRYPT_KEY_HANDLE)을 제공합니다.Gets a safe handle that represents a native key (NCRYPT_KEY_HANDLE).

public:
 property Microsoft::Win32::SafeHandles::SafeNCryptKeyHandle ^ Handle { Microsoft::Win32::SafeHandles::SafeNCryptKeyHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle Handle { get; }
[get: System.Security.SecurityCritical]
public Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle Handle { get; }
member this.Handle : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
[<get: System.Security.SecurityCritical>]
member this.Handle : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle
Public ReadOnly Property Handle As SafeNCryptKeyHandle

속성 값

SafeNCryptKeyHandle

키를 나타내는 SafeHandle입니다.A safe handle that represents the key.

특성

설명

반환 된 핸들은 현재 개체의 핸들과 중복 됩니다 CngKey .The returned handle is a duplicate of the handle in the current CngKey object. 현재가 삭제 된 경우에도 유지 되 CngKey 고 별도로 삭제 해야 합니다.It will persist even if the current CngKey is disposed, and must be disposed of separately.

부정적인 영향 없이 모든 순서로 현재 개체와 핸들을 해제할 수 있습니다.You can release the current object and the handle in any order without any adverse effects.

적용 대상