共用方式為


CertificateQuery 類別

定義

表示應用程式憑證存放區中憑證查詢的參數。

public ref class CertificateQuery sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CertificateQuery final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CertificateQuery final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CertificateQuery
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CertificateQuery
function CertificateQuery()
Public NotInheritable Class CertificateQuery
繼承
Object Platform::Object IInspectable CertificateQuery
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

CertificateQuery()

建立憑證查詢的新實例。

屬性

EnhancedKeyUsages

取得物件識別碼的集合, (OID) ,以供搜尋的增強金鑰使用延伸模組使用。

FriendlyName

取得或設定要搜尋的憑證易記名稱。

HardwareOnly

取得或設定值,這個值表示是否要從查詢傳回只有硬體憑證 (SC 或 TPM) 。

IncludeDuplicates

取得或設定是否要包含重複專案。

IncludeExpiredCertificates

取得或設定是否要包含過期的憑證。

IssuerName

取得或設定要搜尋的憑證簽發者名稱。

StoreName

取得或設定存放區名稱。

Thumbprint

取得或設定要搜尋的憑證指紋。

適用於