Esempio n. 1
0
        public static uint GetUserGuid(string username, string password)
        {
            Sims.GUID.Service.SimGUIDService service = new Sims.GUID.Service.SimGUIDService();
            uint userguid = 0xf000000;

            if (username.Trim() != "")
            {
                userguid = (uint)service.loginUser(username, password);
            }


            return(userguid);
        }
Esempio n. 2
0
        public uint GetNewGUID(string user, string password, uint defguid, string name)
        {
            lluse.Enabled = false;
            this.retguid  = defguid;

            service = new Sims.GUID.Service.SimGUIDService();

            this.tbusername.Text           = user;
            this.tbpassword.Text           = password;
            this.tabControl1.SelectedIndex = 1;
            if (name == null)
            {
                name = "";
            }
            this.tbobject.Text = name;

            UpdateGUID(false);
            this.ShowDialog();

            return(retguid);
        }