SecondaryAuthenticationFactorInfo.IsAuthenticationSupported 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
已取代。 檢查隨附裝置是否支援某種使用者驗證功能。
注意
此 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 引進)
|