El intento por el método de seguridad transparente para acceder al método crítico de seguridad falló

Intento con el método transparente de seguridad 'PayPal.UserAgentHeader.get_OperatingSystemFriendlyName ()' para acceder al método crítico de seguridad 'System.Management.ManagementObjectSearcher..ctor (System.String)' falló.

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.

Esta respuesta stackoverflow menciona la adición de[SecuritySafeCritical] atributo a la clase, pero en este caso la clase en juego está en un DLL cargado a través de NuGet.

¿Hay alguna configuración global que pueda usar para omitir esta excepción?

Respuestas a la pregunta(5)

Su respuesta a la pregunta