示例代码: 这里需要使用多线程,因为在powershell监控数据时,同时程序在运行其它操作
Thread bgroundThread = new Thread(new ThreadStart(print)); ///start a new thread
示例代码: 这里需要使用多线程,因为在powershell监控数据时,同时程序在运行其它操作
Thread bgroundThread = new Thread(new ThreadStart(print)); ///start a new thread