Home c# строка не найдена

строка не найдена

Author

Date

Category

Need Keygen. And checking keys in the program.

can you advise code example?

you can some simple.


Answer 1, Authority 100%

I so threw the code that interests you:

How to protect the application from execution of arguments?

But because The question sounds quite different, you do not need to consider it a duplicate.
Therefore, I just duplicate the code here:

class program
{
  Static Void Main (String [] Args)
  {
    var Mac = getMacadress ();
    Console.Writeline (GetNumbersFromMac (Mac) + GetMirrowcharsfrommac (Mac));
  }
  Private Static String GetMacadress ()
  {
    Return NetworkInterface.GetallnetworkInterfaces (). WHERE (NIC = & GT; Nic.OperationalStatus == OperationalStatus.up)
      .Select (nic = & gt; 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 GetmirroDcharsfrommac (String Mac)
  {
    String Tmpletter = Regex.Replace (Mac, @ "[^ A-Z] +", string.empty);
    string getmirroored = string.empty;
    for (int i = tmpletter.length; i & gt; 0; i--)
    {
      getmirrored + = (tmpletter [i - 1]);
    }
    Return GetMirrored;
  }
}

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions