ApplicationManifest.UseApplicationTrust Property

Definition

Gets or sets a value that indicates whether the install will use the settings in the application manifest in the trust prompt.

public bool UseApplicationTrust { get; set; }
public bool UseApplicationTrust { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

true to use the settings in the application manifest in the trust prompt; otherwise, false.

Attributes

Remarks

By default, the Product, Publisher, and SupportUrl properties are set to null. They are used only if UseApplicationTrust is True. If this property is True, the values of these properties are written to the corresponding tags in the application manifest.

If UseApplicationTrust is False (the default value), these properties are ignored.

This property corresponds to the UseApplicationTrust property in the project file.

Applies to