Hi,
I have an C# application runing at the back ground. Now i want to stop this application when the system is locked. how can i do that. Any help regarding this is really appreciated.
Thanks Hougen for the solution. could you please suggest me should we include any Dlls to handle "Microsoft.Win32.SystemEvents.SessionSwitch" this event? And in which layer this code should reside. I guess it is in Business layer. Any sugeestion regading this?