I want to be able, to inject my c++ dll into a game, then ask my c# form if a variable if true, then allow the injection, else self destruct or crash the game,
My c# form is a login form with a variable that is true if the person is logged in, but if the dll gets injected into the game, i want it to see the the c# form is logged in, if not then crash the game or self destruct, but i do not want to have the c# form write into a file saying it has logged in, else people could trick my dll, thinking the person has logged in