Skip to main content

policy_value_applies

Function policy_value_applies 

Source
pub fn policy_value_applies(name: &str, exe_name: &str) -> bool
Expand description

Whether a WebView2 policy value named name applies to the program whose executable file is exe_name: the name is * (every application) or this program’s executable file name, compared without regard to case. Every other name belongs to another program. When this program’s own file name is unknown, every value is taken to apply.