i am making a security program which only administrator can run.
now i place one checkbox in registration form that if the user is administrator then he will check that box and program will not ask for " run as administrator"
now i need code for checkbox something like
if checkbox1=true then
program can run without selection run as administrator
you are not administrator to run this program
something like this