次の方法で共有


SecondaryAuthenticationFactorInfo.IsAuthenticationSupported プロパティ

定義

非推奨になりました。 コンパニオン デバイスが何らかの種類のユーザー認証機能をサポートしているかどうかを確認します。

Note

この API は、すべてのアプリで使用できるわけではありません。 開発者アカウントが 、secondaryAuthenticationFactor 機能を使用するように Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは失敗します。 承認を申請するには、 にお問い合わせください cdfonboard@microsoft.com。 機能の詳細については、「 アプリ機能の宣言」を参照してください。 コンパニオン デバイス フレームワークの概要については、「Windows Unlock with companion (IoT) devices overview 」を参照してください。

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 で導入)

適用対象