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 1

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


seenagape

seenagape

I agree with the answer. A