SecondaryAuthenticationFactorInfo.DeviceFriendlyName Property

Definition

Gets the device friendly name.

Note

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.

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

Property Value

String

Platform::String

winrt::hstring

The device friendly name.

Attributes

Applies to

See also