I am trying to send the key Alt + T using the send wait
syntax: System.Windows.Forms.SendKeys.SendWait("%{T}")

But I am receiving the following message:
Security Exception
Description: The application attempted to perform an
operation not allowed by the security policy. To grant
this application the required permission please contact
your system administrator or change the application's
trust level in the configuration file.

Exception Details: System.Security.SecurityException:
Unable to create Hook.

it looks like its a security issue, if so how can I
resolve it.

Sincerely yours

Mike John