Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This example shows how to get a reference to the Application object instance for the current AppDomain.
Example
The following example shows how to get a reference to the current Application object instance from the Current property.
// Get a reference to the current Application object
Application currentApplication = Application.Current;