Appendix R. The Application Class
The Application class provides static properties and methods for controlling the application. This appendix contains a summary of the Application class's most useful properties, methods, and events. Chapter 36, "Configuration and Resources," has a bit more to say about the Application class and provides some example code.
Properties
The following table describes the Application class's most useful properties.
Property | Purpose |
|---|---|
| Returns the path where the program should store application data that is shared by all users. By default, this path has the form |
| Returns the Registry key where the program should store application data that is shared by all users. By default, this path has the form |
| Returns the application's company name. |
| Gets or sets the |
| Gets or sets the |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access