Share via


AllJoynAboutData.SoftwareVersion 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 version number of the app. Use of this property applies to Producer apps.

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

void SoftwareVersion(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 SoftwareVersion();

void SoftwareVersion(winrt::hstring value);
public string SoftwareVersion { get; set; }
public string SoftwareVersion { [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.softwareVersion;
allJoynAboutData.softwareVersion = string;
Public Property SoftwareVersion As String

Property Value

String

Platform::String

winrt::hstring

The version number.

Attributes

Windows requirements

App capabilities
allJoyn

Remarks

By default the returned value is pulled from either the "Version" field of the UWP app manifest, or the "Product version" property of the EXE of a Desktop app.

Applies to