simple code in .Net to lock your system like
screensaver's do.
using System;using System.Runtime.InteropServices
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
LockWorkStation();
}
[DllImport("user32.dll")]
static extern void LockWorkStation();
}
}
No comments:
Post a Comment