Hi,
I am currently writing a program, which shall detect
the logoff event of windows.
When the user is logging off, the program shall abort the logoff process and execute some functionalities.
I tried to solve this problem by catching the event
with SessionEndReasons.Logoff, but it doesn't work in a
windows service. If I catch the event in a normal windows
application, windows kills my application anyway.
Could you help me?
Best regards
abc
I am currently writing a program, which shall detect
the logoff event of windows.
When the user is logging off, the program shall abort the logoff process and execute some functionalities.
I tried to solve this problem by catching the event
with SessionEndReasons.Logoff, but it doesn't work in a
windows service. If I catch the event in a normal windows
application, windows kills my application anyway.
Could you help me?
Best regards
abc