public static void FirmwareServer(string device, string fchannel)
 {
     if (File.Exists(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") & File.Exists(@"C:\Program Files\Google\Chrome\Application\chrome.exe") == true)
     {
         BrowserCheck.StartBrowser("MicrosoftEdge.exe", firmwarelink + device + fchannel);
     }
     else
     {
         BrowserCheck.StartBrowser("Chrome.exe", firmwarelink + device + fchannel);
     }
 }
Beispiel #2
0
 private void contact_Click(object sender, EventArgs e)
 {
     if (InternetCheck.ConnectToInternet() == true)
     {
         if (File.Exists(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") & File.Exists(@"C:\Program Files\Google\Chrome\Application\chrome.exe") == true)
         {
             BrowserCheck.StartBrowser("MicrosoftEdge.exe", "https://t.me/francom28");
         }
         else
         {
             BrowserCheck.StartBrowser("Chrome.exe", "https://t.me/francom28");
         }
     }
     else
     {
         Dialogs.ErrorDialog("Error: " + LangEngine.internetchecktitle, LangEngine.internetcheck);
     }
 }
Beispiel #3
0
 private void howtouseit_Click(object sender, EventArgs e)
 {
     if (InternetCheck.ConnectToInternet() == true)
     {
         if (File.Exists(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") & File.Exists(@"C:\Program Files\Google\Chrome\Application\chrome.exe") == true)
         {
             BrowserCheck.StartBrowser("MicrosoftEdge.exe", "https://github.com/Franco28/MotoTool#getting-started-read-all-please");
         }
         else
         {
             BrowserCheck.StartBrowser("Chrome.exe", "https://github.com/Franco28/MotoTool#getting-started-read-all-please");
         }
     }
     else
     {
         Dialogs.ErrorDialog("Error: " + LangEngine.internetchecktitle, LangEngine.internetcheck);
     }
 }
 private void contact_Click(object sender, EventArgs e)
 {
     if (InternetCheck.ConnectToInternet() == true)
     {
         if (File.Exists(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe") & File.Exists(@"C:\Program Files\Google\Chrome\Application\chrome.exe") == true)
         {
             BrowserCheck.StartBrowser("MicrosoftEdge.exe", "https://beckhamtool.000webhostapp.com/");
         }
         else
         {
             BrowserCheck.StartBrowser("Chrome.exe", "https://beckhamtool.000webhostapp.com/");
         }
     }
     else
     {
         Dialogs.ErrorDialog("Error: Network Lost", "Please check your internet connection!");
     }
 }