private async Task LoadAsync()
        {
            DialogContent = Messages.InfoLogging;
            IsDialogOpen  = true;

            bool succeeded = await AuthenticateUserAsync().ConfigureAwait(false);

            if (succeeded)
            {
                TimerManager.Instance.StartTimer();

                RtClientManager.Instance.SigninRtServiceBackground();

                await CacheLessonTypesAsync();

                IsLoginSucceeded = true;
                await _deviceLoginView.Dispatcher.BeginInvoke(new Action(() => { _deviceLoginView.Close(); }));
            }
        }
        private async Task LoadAsync()
        {
            Log.Logger.Debug("LoadAsync => DeviceLoginView");


            _windowManager.Initialize();

            MeetingSdkEventsRegister.Instance.RegisterSdkEvents();

            var deviceNameAccessor = IoC.Get <IDeviceNameAccessor>();
            var providers          = IoC.GetAll <IDeviceNameProvider>();

            foreach (var provider in providers)
            {
                await provider.Provider(deviceNameAccessor);
            }



            DialogContent = Messages.InfoLogging;
            IsDialogOpen  = true;

            bool succeeded = await AuthenticateUserAsync().ConfigureAwait(false);

            if (succeeded)
            {
                TimerManager.Instance.StartTimer();

                RtClientManager.Instance.SigninRtServiceBackground();

                await CacheLessonTypesAsync();

                IsLoginSucceeded = true;
                await _deviceLoginView.Dispatcher.BeginInvoke(new Action(() => { _deviceLoginView.Close(); }));
            }
        }