コード例 #1
0
        public async void SetActivity_Click()
        {
            if (_AuthorizedList != null)
            {
                steamService.UpdateAuthorizedDeviceList(_AuthorizedList);
            }
            var result = await MessageBox.ShowAsync(AppResources.AccountChange_RestartSteam, button : MessageBox.Button.OKCancel);

            if (result.IsOK())
            {
                steamService.TryKillSteamProcess();
                steamService.StartSteam();
            }
        }