How can I use sendkey or SendKeys.SendWait
in asp.net c#.
I want use it just on localhost.
It works in Visual studio but not on IIS, I changed applicationPoolIdentity
to adminstrator but I always get the same problem "access denied".
How can I use sendkey or SendKeys.SendWait
in asp.net c#.
I want use it just on localhost.
It works in Visual studio but not on IIS, I changed applicationPoolIdentity
to adminstrator but I always get the same problem "access denied".
SendKeys
is a method used for desktop development, not web. It is a Windows function, and you can't access such operating system functions from the browser (think what would happen if you could!). You are restricted to what you have in the browser: HTML, Javascript and CSS.
If you want to perform changes on the loaded HTML, you probably should look into a Javascript solution.