Sascha
Sascha

Reputation: 2213

Hooking up into OS shutdown event in .NET WPF-Application on Win7 x64?

This seems to be mission impossible?
According to the comments on this page: http://msdn.microsoft.com/en-us/library/system.windows.application.exit.aspx , others also have trouble archieving it.

Which event is the best one to use? Session.Ending? Exit?

Thanks for any hint!
Sascha

Upvotes: 0

Views: 363

Answers (1)

blindmeis
blindmeis

Reputation: 22435

may be Application.SessionEnding Event?

Upvotes: 1

Related Questions