Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 2.46 KB

package_machineexternallocation.md

File metadata and controls

37 lines (22 loc) · 2.46 KB
-api-id -api-type
P:Windows.ApplicationModel.Package.MachineExternalLocation
winrt property

Windows.ApplicationModel.Package.MachineExternalLocation

-description

Gets the location of the machine-wide external folder specified in the package manifest for the current package.

-property-value

The location of the machine-wide external folder specified in the package manifest for the current package.

-remarks

The external folder is a disk location outside of the package where the package manifest can reference application content. This property returns the location of the external folder as a StorageFolder object for an app that is provisioned for all users on the machine.

This property is intended to be used when you are granting identity to an unpackaged desktop application by using a sparse package. A sparse package contains only a package manifest (not an executable or other application content). The package manifest references application content in an external disk location outside of the package.

To set the external folder, use one of the following combinations of PackageManager methods and related options properties:

-see-also

AddPackageByUriAsync,RegisterPackageByUriAsync,StagePackageByUriAsync

-examples