Unlock Windows programmatically

前端 未结 5 1840
栀梦
栀梦 2020-11-28 12:39

In my current C# code I\'m able to lock a Windows user session programmatically (same as Windows + L).

Since the app would still be running, is there any way to unlo

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-28 13:19

    No, there is no way to do this, by design. What's your scenario and why do you need to lock/unlock the workstation?

提交回复
热议问题