您正在加载到应用程序中的一个新的程序集。您需要重写默认的程序集证据。您需要公共语言运行库(CLR)授予程序集的权限集,因为如果从本地intranet区域的程序集被加载。您需要建立证据的收集。您应该使用哪个代码段?()
A.Evidence evidence = new Evidence(Assembly.GetExecutingAssembly().Evidence);
B.Evidence evidence = new Evidence(); evdence.AddAssembly(new Zone(SecurityZone.Intranet));
C.Evidence evidence = new Evidence(); evidence.AddHost(new Zone(SecurityZone.Intranet));
D.Evidence evidence = new Evidence(AppDomain.CurrentDomain.Evidence);