Attempt by security transparent method to access security critical method failed

前端 未结 5 1450
遥遥无期
遥遥无期 2021-01-12 07:04

Attempt by security transparent method \'PayPal.UserAgentHeader.get_OperatingSystemFriendlyName()\' to access security critical method \'System.Management.Management

5条回答
  •  北海茫月
    2021-01-12 07:12

    After upgrading wpftoolkit 3.5 framework to 4.6.1 framework, the below Security rules in assemblyinfo.cs resolve the issue:

    // added because of security transparency change in framework 4.0
    [assembly: SecurityRules(SecurityRuleSet.Level1)]
    

提交回复
热议问题