i want log off win xp by a condition in window service i use two method for them but not work pls help me 1.System.Diagnostics.Process.Start("ShutDown", "/l");
2.[DllImport("user32.dll")] static extern bool ExitWindowsEx(int uFlags, int dwReason);
i want log off win xp by a condition in window service i use two method for them but not work pls help me 1.System.Diagnostics.Process.Start("ShutDown", "/l");
2.[DllImport("user32.dll")] static extern bool ExitWindowsEx(int uFlags, int dwReason);