Condividi tramite


SecondaryAuthenticationFactorInfo.DeviceFriendlyName Proprietà

Definizione

Ottiene il nome descrittivo del dispositivo.

Nota

Questa API non è disponibile per tutte le app. A meno che il provisioning dell'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à delle app. Per una panoramica di Companion Device Framework, vedere panoramica di Sblocco di Windows con dispositivi complementari (IoT ).

public:
 property Platform::String ^ DeviceFriendlyName { Platform::String ^ get(); };
winrt::hstring DeviceFriendlyName();
/// [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 DeviceFriendlyName();
public string DeviceFriendlyName { get; }
public string DeviceFriendlyName { [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.deviceFriendlyName;
Public ReadOnly Property DeviceFriendlyName As String

Valore della proprietà

String

Platform::String

winrt::hstring

Nome descrittivo del dispositivo.

Attributi

Si applica a

Vedi anche