You use Microsoft .NET Framework 4 to create an application. <br /> The application contains a partially trusted client assembly and a server assembly. <br /> You create a custom sandboxed application domain. <br /> You need to ensure that the application can be executed in a partial-trust environment. <br /> What should you do?()<p> You use Microsoft .NET Framework 4 to create an application. <br /> The application contains a partially trusted client assembly and a server assembly. <br /> You create a custom sandboxed application domain. <br /> You need to ensure that the application can be executed in a partial-trust environment. <br /> What should you do?()</p>
A、A. Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
B、B. Apply the following attribute to the server assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]
C、C. Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=VisibleToAllHosts)]
D、D. Apply the following attribute to the client assembly. [assembly: AllowPartiallyTrustedCallers(PartialTrustVisibilityLevel=NotVisibleByDefault)]