1 public class LockWindows { 2 public static void main(String [] args) throws Exception { 3 Runtime.getRuntime().exec("RunDll32.exe user32.dll,LockWorkStation"); 4 } 5 }
posted on 2019-06-19 09:42 长方形 阅读(1255) 评论(0) 编辑 收藏 举报