问题描述:

I am working on an application that requires running out of browser; How can I test if the application is running Out of Browser?

网友答案:

Use the property on the Application object:

if (System.Windows.Application.Current.IsRuningOutOfBrowser)
{
    // The app is out of browser
}
相关阅读:
Top