This question already has an answer here:
- C# Generating a random IP Address 2 answers
I making a hacking game.I want to generate random ipv4 and store it into string.
This is what i have now.
string ip1 = Random(0, 255) + " " + Random(0, 255) + " " + Random(0, 255) + " " + Random(0, 255);
Looks like code written by a trained monkey for me xD
Aucun commentaire:
Enregistrer un commentaire