单项选择题
你在 Certkiller 应用程序的开发工作. com。最近命名艾米沃尔什同开发人员创建实现自定义权限集的程序集。
Certkiller.com 已要求您测试此程序集。
通过将程序集复制到一个名为 Certkiller 的测试服务器启动-了微软的 SR15。安装.NET 2.0 框架。
您然后登录到 Certkiller-SR15 作为本地 Windows 管理员组的成员。
您运行程序集,并接收安全异常。
您执行略论所涉及的安全问题,并找到大会尚未被分配适当的权限才能运行。
您需要确保运行此程序集。
你应该做什么?()
A.使用permview.exe工具来修改的程序集授予的权限。
B.使用sn.exe工具来修改的程序集授予的权限。
C.使用caspol.exe工具来修改的程序集授予的权限。
D.使用gacutil.exe工具来修改的程序集授予的权限。
点击查看答案&解析
相关考题
-
单项选择题
您正在开发.NET Framework 2.0 应用程序上 Certkiller-WS554。您编写的应用程序的行号在下面的代码是只供参考: 01: Public Function ProcCount() As Integer 02: Dim envPerm As EnvironmentPermission = _ 03: New EnvironmentPermission( _ 04: EnvironmentPermissionAccess.Read, _ 05: "NUMBER_OF_PROCESSORS") 06: 'Add code segment here 07: Return Environment.ProcessorCount 08: End Function 在代码中的 ProcCount 方法将用于返回运行代码的计算机上的处理器数和方法的实现是完全透明的方法的调用方。你确保 ProcCount 方法已被授予访问环境变量的权限的代码的调用方可能没有权限访问的变量。为了能够成功调用 ProcCount 方法需要中的其他程序集的类。在行 06 至重写安全检查,虽然您确保任何您编写的代码不会影响已有您的代码的权限,您必须添加代码。 您应添加哪些代码段?()
A.envPerm.PermitOnly()
B.envPerm.Demand()
C.encPerm.Deny()
D.envPerm.Assert() -
单项选择题
You are creating a class that performs complex financial calculations. The class contains a method named GetCurrentRate that retrieves the current interest rate and a variable named currRate that stores the current interest rate.You write serialized representations of the class.You need to write a code segment that updates the currRate variable with the current interest rate when an instance of the class is deserialized. Which code segment should you use?()
A.A
B.B
C.C
D.D -
单项选择题
为应用程序开发人员上班 Certkiller.com,Certkiller.com 使用 Visual Studio.NET 2005 作为其应用程序开发平台。 您正在开发.NET Framework 2.0 图形分析中的应用。 您将要保存图形对象从应用程序就是集合的 x 和 y 点,每个由使用单精度浮点数。 您需要保留的磁盘空间使用量减至最少保存对象。 你应该做什么?()
A.使用TextWriter类。
B.使用StreamWriter类。
C.使用StringWriter类。
D.使用BinaryWriter类。
