title: Attempt by security transparent method to access security critical method failed
body: <p><strong>Attempt by security transparent method 'PayPal.UserAgentHeader.get_OperatingSystemFriendlyName()' to access security critical method 'System.Management.ManagementObjectSearcher..ctor(System.String)' failed.</strong></p>
  
  <pre><code>Assembly 'PayPalCoreSDK, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself.  In order to access security critical code, this assembly must be fully trusted.
  
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
  
  Exception Details: System.MethodAccessException: Attempt by security transparent method 'PayPal.UserAgentHeader.get_OperatingSystemFriendlyName()' to access security critical method 'System.Management.ManagementObjectSearcher..ctor(System.String)' failed.
  
  Assembly 'PayPalCoreSDK, Version=1.4.1.0, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself.  In order to access security critical code, this assembly must be fully trusted.
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/6550890/attempt-by-security-transparent-method-kigg-web-jqueryscriptmanager-oninit">This stackoverflow answer</a> mentions adding the <code>[SecuritySafeCritical]</code> attribute to the class, but in this case the class at play is in a DLL loaded through NuGet.</p>
  
  <p>Are there any global settings I can use to bypass this exception?</p>