How to determine whether there is any current user login and show the desktop?
Tried the Environment. The UserName is invalid, if not the login information, and for a Windows SYSTEM service, this UserName is SYSTEM forever
CodePudding user response:
Can consider to design a class or a data structure to store has user logged in, thus to judge whether the login,CodePudding user response:
As if detecting Explore processCodePudding user response:
I think this is what you want?