Question:You are developing an auditing application to display the trusted ClickOnce applications that are installed on a computer. You need the auditing application to display the origin of each trusted application. Which code segment should you use? 

A Dim objTrusts As ApplicationTrustCollection
objTrusts = ApplicationSecurityManager.UserApplicationTrusts For Each objTrust As ApplicationTrust In
objTrusts
Console.WriteLine(objTrust.ToString)
Next 

B Dim objTrusts As ApplicationTrustCollection
objTrusts = ApplicationSecurityManager.UserApplicationTrusts For Each objTrust As ApplicationTrust In
objTrusts
Console.WriteLine(objTrust.ExtraInfo.ToString)
Next 

C Dim objTrusts As ApplicationTrustCollection
objTrusts = ApplicationSecurityManager.UserApplicationTrusts For Each objTrust As ApplicationTrust In
objTrusts
Console.WriteLine(objTrust.ApplicationIdentity.FullName.ToString) Next 

D Dim objTrusts As ApplicationTrustCollection
objTrusts = ApplicationSecurityManager.UserApplicationTrusts For Each objTrust As Object In
objTrusts
Console.WriteLine(objTrust.ToString)
Next 

+ Answer
+ Report
Total Preview: 894

Copyright © 2024. Powered by Intellect Software Ltd