Esempio n. 1
0
        public async Task <Answer> RegisterDevice(string login, string phoneNumber)
        {
            DeviceRegistration registrationData = new DeviceRegistration()
            {
                //MOK
                Login       = login,
                Shared      = Shared,
                SharedId    = SharedID,
                DeviceId    = deviceInfo.GetIdentifier(),
                DeviceModel = DeviceInfo.Model,
                PhoneNumber = phoneNumber,
            };
            var answer = await netwrokSevice.Login(registrationData);

            return(answer);
        }