PrepAway - Latest Free Exam Questions & Answers

Which code fragment should you use?

You use Microsoft .NET Framework 4 to create a Windows application that can execute on client computers that run Windows Vista.
You are creating a User Account Control (UAC) application manifest for the application.
You need to ensure that users who are members of the local Administrators group do not receive a UAC prompt when the application executes.
Which code fragment should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
<assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″>
<v3:trustInfo xmlns:v3=”urn:schemas-microsoft-com:asm.v3″>
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level=”asInvoker” uiAccess=”true” />
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo> </assembly>

B.
<assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″>
<v3:trustInfo xmlns:v3=”urn:schemas-microsoft-com:asm.v3″>
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level=”requireAdministrator” uiAccess=”true” />
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo> </assembly>

C.
<assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″>
<v3:trustInfo xmlns:v3=”urn:schemas-microsoft-com:asm.v3″>
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level=”asInvoker” uiAccess=”false” />
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
</assembly>

D.
<assembly xmlns=”urn:schemas-microsoft-com:asm.v1″ manifestVersion=”1.0″>
<v3:trustInfo xmlns:v3=”urn:schemas-microsoft-com:asm.v3″>
<v3:security>
<v3:requestedPrivileges>
<v3:requestedExecutionLevel level=”highestAvailable” uiAccess=”true” />
</v3:requestedPrivileges>
</v3:security>
</v3:trustInfo>
</assembly>


Leave a Reply