Need a keygen. And check the keys in the program.
Can you recommend a sample code?
Can some simple.
Need a keygen. And check the keys in the program.
Can you recommend a sample code?
Can some simple.
Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .
I threw the code here that interests you:
How to protect the application from the arguments?
but since the question sounds completely different; you do not need to consider this a duplicate. Because I just duplicate the code here:
class Program { static void Main(string[] args) { var mac = GetMacAdress(); Console.WriteLine(GetNumbersFromMac(mac) + GetMirroredCharsFromMac(mac)); } private static string GetMacAdress() { return NetworkInterface.GetAllNetworkInterfaces().Where(nic => nic.OperationalStatus == OperationalStatus.Up) .Select(nic => nic.GetPhysicalAddress().ToString()).FirstOrDefault(); } private static string GetNumbersFromMac(string mac) { string tmpDigit = Regex.Replace(mac, @"[^0-9]+", String.Empty); string getPositionNumber = string.Empty; foreach (char number in tmpDigit) { getPositionNumber += number * 129 / 258; } return getPositionNumber; } private static string GetMirroredCharsFromMac(string mac) { string tmpLetter = Regex.Replace(mac, @"[^AZ]+", String.Empty); string getMirrored = string.Empty; for (int i = tmpLetter.Length; i > 0; i--) { getMirrored += (tmpLetter[i - 1]); } return getMirrored; } } MAC адрес , and not, say, the serial number of the HDD or disk partition? Is the MAC адрес easy to change? - BulsonSource: https://ru.stackoverflow.com/questions/635439/
All Articles