all is said in the title, how can I simulate the combination Ctrl+Alt+DEL?
I tried this:
SendKeys.Send("^(%({DEL}))")
SendKeys.Send("^(%{DEL})")
SendKeys.Send("^%{DEL}")
But none worked. I am working on VB.NET and Windows XP SP3
As of Windows Vista, you can use the SendSAS
function.
Original answer, now superseded by the above
The function you need is called SimulateSAS
. You need to e-mail [email protected] and ask for it. Microsoft don't appear to document this, but just do a websearch for SimulateSAS
and you'll see what I mean.
Others have explained why it's actually not a security issue to allow apps to trigger CTRL+ALT+DEL, but you certainly can't do it with SendKeys
.
You can't. This is done at the device driver level, you can't fake input for the keyboard driver. Also the reason you cannot disable it. Allowing it to be faked would of course be a very serious security flaw.
Your best bet might be to download the TightVNC source code, and see how they do it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With