Condividi tramite


SecondaryAuthenticationFactorInfo.DeviceId Proprietà

Definizione

Ottiene l'ID del dispositivo.

Nota

Questa API non è disponibile per tutte le app. A meno che l'account sviluppatore non venga effettuato appositamente da Microsoft per usare la funzionalità secondaryAuthenticationFactor , le chiamate a questa API avranno esito negativo. Per richiedere l'approvazione, contattare cdfonboard@microsoft.com. Per altre informazioni sulle funzionalità, vedere Dichiarazioni di funzionalità dell'app. Per una panoramica di Companion Device Framework, vedere la panoramica dei dispositivi Windows Unlock with companion (IoT).

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
/// [get: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceId();
public string DeviceId { get; }
public string DeviceId { [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")] get; }
var string = secondaryAuthenticationFactorInfo.deviceId;
Public ReadOnly Property DeviceId As String

Valore della proprietà

String

Platform::String

winrt::hstring

ID dispositivo.

Attributi

Si applica a

Vedi anche