コード例 #1
0
        private void InitUpdatesChecker()
        {
            var update_url = App.Resources["UpdateUrl"] as Uri;

            m_updater = new GarUpdate(this, update_url);
            m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();
        }
コード例 #2
0
ファイル: GarUpdate.cs プロジェクト: ziyuejun/GARbro
        private void InitUpdatesChecker()
        {
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
            var update_url = App.Resources["UpdateUrl"] as Uri;

            m_updater = new GarUpdate(this, update_url);
            m_updater.CanExecuteChanged += (s, e) => CommandManager.InvalidateRequerySuggested();
        }