Nov 25, 2018 06:54 PM
(This post was last modified: Nov 25, 2018 07:00 PM by gigajew.)
Here's a simple, but sometimes very effective anti method. It can be used to check whether their computer's country name equals the one you want to target.
So if I only want this to execute on computers in Finland, I would write something like:
So if I only want this to execute on computers in Finland, I would write something like:
Code
bool isFinland = string.Equals(GetCurrentCountry(),
"Finland",
StringComparison.InvariantCultureIgnoreCase);
if (!isFinland)
return -1;![[Image: Syr3DlV.png]](https://i.imgur.com/Syr3DlV.png)



![[Image: f4hRdFS.gif]](https://i.imgur.com/f4hRdFS.gif)