Closed xeon-ye closed 3 years ago
I use NamedPipe to pass the username,password to the credential, and call Provider.RaiseCredentialsChanged() but nothing happened,how to auto unlock the windows screen after using LockWorkStation api?
Hi, before calling RaiseCredentialsChanged make sure you're setting Provider.DefaultCredential and setting AutoLogon to true.
got it! thank you very much!
I use NamedPipe to pass the username,password to the credential, and call Provider.RaiseCredentialsChanged() but nothing happened,how to auto unlock the windows screen after using LockWorkStation api?