X509Certificate.Handle 属性

定义

获取非托管 PCCERT_CONTEXT 结构所描述的 Microsoft Cryptographic API 证书上下文的句柄。

public:
 property IntPtr Handle { IntPtr get(); };
public IntPtr Handle { get; }
public IntPtr Handle { [System.Security.SecurityCritical] get; }
[System.Runtime.InteropServices.ComVisible(false)]
public IntPtr Handle { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public IntPtr Handle { [System.Security.SecurityCritical] get; }
member this.Handle : nativeint
[<get: System.Security.SecurityCritical>]
member this.Handle : nativeint
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Handle : nativeint
[<get: System.Security.SecurityCritical>]
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Handle : nativeint
Public ReadOnly Property Handle As IntPtr

属性值

IntPtr

nativeint

表示非托管 PCCERT_CONTEXT 结构的 IntPtr 结构。

属性

注解

句柄仅在对象的生存期内 X509Certificate 有效。

适用于