コード例 #1
0
 public static extern bool CryptUIDlgViewContext(
     [In] uint dwContextType,
     [In] CrlContextHandle pvContext,
     [In] IntPtr hwnd,
     [In, MarshalAs(UnmanagedType.LPWStr)] string pwszTitle,
     [In] uint dwFlags,
     [In] IntPtr pvReserved);
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CertificateRevocationList"/> class.
 /// </summary>
 /// <param name="handle">The handle.</param>
 /// <exception cref="System.ArgumentException">Invalid Handle</exception>
 public CertificateRevocationList(IntPtr handle) : this()
 {
     if (handle == IntPtr.Zero) throw new ArgumentException("Invalid Handle");
     safeHandle = NativeMethods.CertDuplicateCRLContext(handle);
 }
コード例 #3
0
 public static extern bool CertGetCRLContextProperty(
     [In] CrlContextHandle pCrlContext,
     [In] uint dwPropId,
     [In, Out] LocalAllocHandle pvData,
     [In, Out] ref uint pcbData);
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CertificateRevocationList"/> class.
 /// </summary>
 public CertificateRevocationList() 
 {
     safeHandle = CrlContextHandle.InvalidHandle;
 }