CngKey.ProviderHandle Właściwość

Definicja

Pobiera natywne dojście (NCRYPT_PROV_HANDLE) do dostawcy magazynu kluczy (KSP).

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

Wartość właściwości

SafeNCryptProviderHandle

Dojście do dostawcy usług kryptograficznych.

Atrybuty

Uwagi

Zwrócony uchwyt jest duplikatem uchwytu w bieżącym CngKey obiekcie. Będzie on utrzymywany nawet wtedy, gdy bieżący CngKey jest usuwany i musi być usuwany oddzielnie.

Bieżący obiekt i uchwyt można zwolnić w dowolnej kolejności bez żadnych negatywnych skutków.

Dotyczy