DownloadApplicationCompletedEventArgs.ShortcutAppId Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the contents of an .appref-ms file that can launch this ClickOnce application.

Namespace:   System.Deployment.Application
Assembly:  System.Deployment (in System.Deployment.dll)

public string ShortcutAppId { get; }

Property Value

Type: System.String

The contents of an .appref-ms file.

This property contains the text a custom installer can write to a .appref-ms file to launch this ClickOnce application. ClickOnce creates this launch file for you when install a ClickOnce application that is available offline, except for applications that include the <customUX> element. A custom installer can create a shortcut to launch a ClickOnce application that contains a <customUX> element by writing the text in this property to a new .appref-ms file in Unicode format. For more information, see <entryPoint> Element (ClickOnce Application) and Walkthrough: Creating a Custom Installer for a ClickOnce Application.

.NET Framework
Available since 2.0
Return to top