Поделиться через


SecondaryAuthenticationFactorInfo.DeviceFriendlyName Свойство

Определение

Возвращает понятное имя устройства.

Примечание

Этот API доступен не для всех приложений. Если ваша учетная запись разработчика не специально подготовлена корпорацией Майкрософт для использования возможности secondaryAuthenticationFactor , вызовы этого API завершатся ошибкой. Чтобы подать заявку на утверждение, обратитесь в .cdfonboard@microsoft.com Дополнительные сведения о возможностях см. в разделе Объявления возможностей приложений. Обзор платформы сопутствующих устройств см. в статье Общие сведения о разблокировке Windows с помощью устройств-компаньонов (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

Значение свойства

String

Platform::String

winrt::hstring

Понятное имя устройства.

Атрибуты

Применяется к

См. также раздел