private void ClearProcessUIPolicy_Click(object sender, RoutedEventArgs e) { try { ProtectionPolicyManager.ClearProcessUIPolicy(); rootPage.NotifyUser("Copy+Paste from this app should now succeed", NotifyType.ErrorMessage); } catch (Exception ex) { rootPage.NotifyUser("Exception thrown:" + ex.ToString(), NotifyType.ErrorMessage); } }
private void ClearProcessUIPolicy_Click(object sender, RoutedEventArgs e) { ProtectionPolicyManager.ClearProcessUIPolicy(); rootPage.NotifyUser("Copy+Paste from this app should now succeed", NotifyType.ErrorMessage); }