Which code segment should you use?

You are developing an application that will deploy by using ClickOnce. You need to test if the application executes properly. You need to write a method that returns the object, which prompts the user to install a ClickOnce application. Which code segment should you use?

You are developing an application that will deploy by using ClickOnce. You need to test if the application executes properly. You need to write a method that returns the object, which prompts the user to install a ClickOnce application. Which code segment should you use?

A.
Return ApplicationSecurityManager.ApplicationTrustManager

B.
Return AppDomain.CurrentDomain.ApplicationTrust

C.
Return new HostSecurityManager

D.
Return SecurityManager.PolicyHierarchy



Leave a Reply 0

Your email address will not be published. Required fields are marked *