Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

LauncherOptions.TreatAsUntrusted Property

Definition

Namespace:
Windows.System

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets a value that indicates whether the system should display a warning that the file or URI is potentially unsafe when starting the app associated with a file or URI.

public:
 property bool TreatAsUntrusted { bool get(); void set(bool value); };
bool TreatAsUntrusted();

void TreatAsUntrusted(bool value);
public bool TreatAsUntrusted { get; set; }
var boolean = launcherOptions.treatAsUntrusted;
launcherOptions.treatAsUntrusted = boolean;
Public Property TreatAsUntrusted As Boolean

Property Value

Boolean

bool

True if the warning should be displayed; otherwise false.

Examples

See the code example in the Launcher.LaunchUriAsync(Uri, LauncherOptions) topic.

Remarks

Important

This property is only implemented on Desktop devices.

Applies to

See also


Feedback

Was this page helpful?