static void Main(string[] args) { var app = new App(); app.Init(); app.Login("sekkit", "password", (code, avatar) => { }); }
static void Main(string[] args) { var app = new App(); app.Init(null); var rnd = new Random((int)Basic.GenID32FromName(TimeUtil.GetTimeStamp().ToString())); var next = rnd.Next(0, int.MaxValue); app.Login("sekkit" + next.ToString(), "password", (code, avatar) => { }); }