Esempio n. 1
0
 public string getUniqueKey()
 {
     if (!System.IO.File.Exists(Configuration.datFileLocation))
     {
         this.uniqueKey = Cryptography.genRandomString(0xC); // 0xC = 12
         Miscellaneous.SetDATFileData(this);
     }
     else
     {
         UserData serveJSONData = Miscellaneous.GetDATFileData();
         this.uniqueKey = serveJSONData.uniqueKey;
     }
     return(this.uniqueKey);
 }