Ejemplo n.º 1
0
 private void generateName()
 {
     string[] companyName = NameGenerator.generateCompanyName();
     this.name         = companyName[0];
     this.postfix      = companyName[1];
     this.ipSubstring  = NetworkMap.generateRandomIP();
     this.ipSubstring  = this.ipSubstring.Substring(this.ipSubstring.Length - this.ipSubstring.LastIndexOf('.'));
     this.ipSubstring += ".";
 }
Ejemplo n.º 2
0
        private void generateName()
        {
            var strArray = NameGenerator.generateCompanyName();

            name         = strArray[0];
            postfix      = strArray[1];
            ipSubstring  = NetworkMap.generateRandomIP();
            ipSubstring  = ipSubstring.Substring(ipSubstring.Length - ipSubstring.LastIndexOf('.'));
            ipSubstring += ".";
        }