Share via


AllJoynAboutData.DefaultAppName 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 default app name assigned by the manufacturer- either the developer or the OEM. This property is a shortcut to the entry in the AppNames property for the DefaultLanguage.

public:
 property Platform::String ^ DefaultAppName { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DefaultAppName();

void DefaultAppName(winrt::hstring value);
/// [get: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DefaultAppName();

void DefaultAppName(winrt::hstring value);
public string DefaultAppName { get; set; }
public string DefaultAppName { [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("AllJoynAboutData has been deprecated.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")] set; }
var string = allJoynAboutData.defaultAppName;
allJoynAboutData.defaultAppName = string;
Public Property DefaultAppName As String

Property Value

String

Platform::String

winrt::hstring

The default app name.

Attributes

Windows requirements

App capabilities
allJoyn

Remarks

By default the returned value is a single entry that indicates in the DefaultLanguage, with value either pulled from the "Display name" field in a UWP app's app manifest, or the ProductName property of a Desktop app.

This property serves as a shortcut to the entry in the Descriptions property for the DefaultLanguage.

Applies to