LauncherOptions.TreatAsUntrusted LauncherOptions.TreatAsUntrusted LauncherOptions.TreatAsUntrusted LauncherOptions.TreatAsUntrusted LauncherOptions.TreatAsUntrusted Property

Definition

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 : Platform::Boolean TreatAsUntrusted { get; set; }
bool TreatAsUntrusted();

void TreatAsUntrusted(bool treatasuntrusted);
public bool TreatAsUntrusted { get; set; }
Public ReadWrite Property TreatAsUntrusted As bool
var bool = launcherOptions.treatAsUntrusted;
launcherOptions.treatAsUntrusted = bool;

Property Value

bool bool 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.

See also