You create a Windows application by using the .NET Framework 3.5.
You plan to evaluate an application design that contains the following specifications:
Common dialog controls are used to browse through files and folders.
Files are saved by using the StreamWriter object.
When the Save button is clicked, a MessageBox control displays a message.
The message warns the user about the requirement for elevated rights.
You need to ensure that the application meets the following requirements:
It works compatibly on Microsoft Windows XP and Windows Vista operating systems.
It follows Windows Vista User Experience guidelines.
It is able to save a physical file outside the application folder when the Save button is clicked.
What change in design should you recommend?
A.
Use the isolated storage mechanism to store the file.
B.
Enable the user to execute the application as an administrator.
C.
Display the SystemIcons.Shield icon next to the Save button and remove the MessageBox control.
D.
Write a Windows service that exposes a remoting object to save the file, and then run the service
under the LocalSystem account.