X509Certificate.Handle 屬性

定義

取得 Unmanaged PCCERT_CONTEXT 結構所描述之 Microsoft Cryptographic API 憑證內容的控制代碼。Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.

public:
 property IntPtr Handle { IntPtr get(); };
public IntPtr Handle { get; }
[get: System.Security.SecurityCritical]
public IntPtr Handle { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public IntPtr Handle { get; }
[get: System.Security.SecurityCritical]
[System.Runtime.InteropServices.ComVisible(false)]
public IntPtr Handle { 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

IntPtr 結構,表示 Unmanaged PCCERT_CONTEXT 結構。An IntPtr structure that represents an unmanaged PCCERT_CONTEXT structure.

屬性

備註

控制碼只在物件的存留期間有效 X509CertificateThe handle is valid only for the lifetime of the X509Certificate object.

適用於