Пример #1
0
        static void Main(string[] args)
        {
            var app = new App();

            app.Init();
            app.Login("sekkit", "password", (code, avatar) =>
            {
            });
        }
Пример #2
0
        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) =>
            {
            });
        }