Exemplo n.º 1
0
 public NetworkBase(Client tclient)
 {
     TheClient = tclient;
     Strings   = new NetStringManager();
     recd      = new byte[MAX];
     recd2     = new byte[MAX];
     if (System.IO.File.Exists("logindata.dat"))
     {
         string   dat = System.IO.File.ReadAllText("logindata.dat");
         string[] d   = dat.SplitFast('=');
         Username = d[0];
         Key      = d[1];
     }
 }
Exemplo n.º 2
0
 public NetworkBase(Client tclient)
 {
     TheClient = tclient;
     Strings = new NetStringManager();
     recd = new byte[MAX];
     recd2 = new byte[MAX];
     if (System.IO.File.Exists("logindata.dat"))
     {
         string dat = System.IO.File.ReadAllText("logindata.dat");
         string[] d = dat.SplitFast('=');
         Username = d[0];
         Key = d[1];
     }
 }