You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, you are creating an application. The application will deploy by using ClickOnce. After the application is created, the customer wants to see whether the application runs properly. So you have to test it. You have to write a method that returns the object, which prompts the user to install a ClickOnce application. In the options below, which code segment should you use?
- A. Return SecurityManager.PolicyHierarchy
- B. Return AppDomain.CurrentDomain.ApplicationTrust
- C. Return ApplicationSecurityManager.ApplicationTrustManager
- D. Return new HostSecurityManager
Reveal Solution
Discussion