Share via


AllJoynAboutDataView.ModelNumber Property

Definition

Important

The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.

The model number of the device running the app.

public:
 property Platform::String ^ ModelNumber { Platform::String ^ get(); };
winrt::hstring ModelNumber();
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
winrt::hstring ModelNumber();
public string ModelNumber { get; }
public string ModelNumber { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutDataView has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; }
var string = allJoynAboutDataView.modelNumber;
Public ReadOnly Property ModelNumber As String

Property Value

String

Platform::String

winrt::hstring

The model number.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to