Dela via


CoreApplication.Id Property

Definition

Gets the package-relative app identifier for the process.

public:
 static property Platform::String ^ Id { Platform::String ^ get(); };
static winrt::hstring Id();
public static string Id { get; }
var string = CoreApplication.id;
Public Shared ReadOnly Property Id As String

Property Value

String

Platform::String

winrt::hstring

The package-relative app identifier for the process.

Remarks

Windows Phone 8

This API is supported in native apps only.

Applies to