I am working on a program but i dont want it to be stolen when selling since i'm giving him it first,
i need a way to exit the application if url says for example False,
i tried this:
var url = "http://example.com/Application.txt";
var textFromFile = (new WebClient()).DownloadString(url);
if(textFromFile.Contains("false")) { Application.Exit(); }
When trieng to debug it gives me alot of errors,
when googling it says that the code is invalid