Skip to main content

Windows Dev Center

CertificateQuery.HardwareOnly | hardwareOnly property

Gets or sets a value that indicates whether only hardware certificates (SC or TPM) are to be returned from the query.

Syntax


var hardwareOnly = certificateQuery.hardwareOnly;
certificateQuery.hardwareOnly = hardwareOnly;

public bool HardwareOnly { get; set; }

Public Property HardwareOnly As Boolean

public:
property bool HardwareOnly { 
   bool get();
   void set (bool value);
}

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if only hardware certificates (SC or TPM) are to be returned from the query; otherwise false.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Security.Cryptography.Certificates
Windows::Security::Cryptography::Certificates [C++]

Metadata

Windows.winmd

See also

CertificateQuery