This documentation is archived and is not being maintained.

ApplicationDeployment.UpdateLocation Property

Note: This property is new in the .NET Framework version 2.0.

Gets the Web site or file share from which this application updates itself.

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

public Uri UpdateLocation { get; }
/** @property */
public Uri get_UpdateLocation ()

public function get UpdateLocation () : Uri

Property Value

The update path, expressed as an HTTP, HTTPS, or file URL; or as a Windows network file path (UNC).

UpdateLocation may be different from the Web site used to download the application initially if the application's deployment is configured to use update redirection.

This value can only be changed by changing it in the application's deployment manifest.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0