Log off windows from code
I have an application with a long running process. When it completes I would like the application to log off the computer. This will automatically close all running apps. I will need to keep the computer running so services can continue.
I''m not sure what Namespace to use. If someone has a simple code sample that would be great.
Thanks,
MFZ
|