共用方式為


SecondaryAuthenticationFactorInfo.IsAuthenticationSupported 屬性

定義

已取代。 檢查隨附裝置是否支援某種使用者驗證功能。

注意

此 API 不適用於所有應用程式。 除非您的開發人員帳戶由 Microsoft 特別布建,才能使用 secondaryAuthenticationFactor 功能,否則對此 API 的呼叫將會失敗。 若要申請核准,請連絡 cdfonboard@microsoft.com 。 如需功能的詳細資訊,請參閱 應用程式功能宣告。 如需隨附裝置架構的概觀,請參閱 搭配隨附裝置的 Windows 解除鎖定 (IoT) 裝置 概觀。

public:
 property bool IsAuthenticationSupported { bool get(); };
bool IsAuthenticationSupported();
/// [get: Windows.Foundation.Metadata.Deprecated("IsAuthenticationSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
bool IsAuthenticationSupported();
public bool IsAuthenticationSupported { get; }
public bool IsAuthenticationSupported { [Windows.Foundation.Metadata.Deprecated("IsAuthenticationSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = secondaryAuthenticationFactorInfo.isAuthenticationSupported;
Public ReadOnly Property IsAuthenticationSupported As Boolean

屬性值

Boolean

bool

如果 裝置支援驗證,則為 True,否則為 false

屬性

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於