Esempio n. 1
0
        private static void OnStartCheck()
        {
            // NativeProgressDialog dlg = null;
            // if(m_tsResultsViewer == null)
            // {
            //	dlg = new NativeProgressDialog();
            //	dlg.StartLogging(KPRes.Wait + "...", false);
            // }

            try
            {
                IOWebClient webClient = new IOWebClient();
                IOConnection.ConfigureWebClient(webClient);

                Uri uri = new Uri(m_strVersionURL);

                webClient.DownloadDataCompleted +=
                    new DownloadDataCompletedEventHandler(OnDownloadCompleted);

                webClient.DownloadDataAsync(uri);
            }
            // catch(NotImplementedException)
            // {
            //	ReportStatusEx(KLRes.FrameworkNotImplExcp, true);
            // }
            catch(Exception) { }

            // if(dlg != null) dlg.EndLogging();
        }