Share via


AllJoynBusAttachment.UniqueName 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 unique bus name associated with the remote app. This unique bus name is used to represent it on the bus via the bus attachment.

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

Property Value

String

Platform::String

winrt::hstring

The unique bus name.

Attributes

Windows requirements

App capabilities
allJoyn

Applies to