Share via


SecondaryAuthenticationFactorInfo.DeviceModelNumber Property

Definition

Gets the device model number.

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

Property Value

String

Platform::String

winrt::hstring

The device model number.

Attributes

Applies to

See also