PrepAway - Latest Free Exam Questions & Answers

What should you do?

You create Windows Forms applications by using the .NET Framework 3.5. You create a
new application for Windows Vista client computers. The application requires elevated
access to read files from the local file system.
You need to ensure that the application requires
elevated permissions on execution. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a new certificate trust list (CTL).
Use the CertMgr.exe tool to install the CTL on the local computer.

B.
Create a new certificate trust list (CTL).
Install the CTL on the server that has the ClickOnce application published.

C.
Create a manifest that includes the <requestedExecutionLevel level=”asInvoker”/> tag.
Add the manifest to the executable file of the application.

D.
Create a manifest that includes the <requestedExecutionLevel
level=”requireAdministrator”/> tag.
Add the manifest to the executable file of the application.

Explanation:
Since UAC requires elevated privileges,
<requestedExecutionLevel level=”requireAdministrator”/> is correct.

http://msdn.microsoft.com/en-us/library/bb756929.aspx


Leave a Reply