diff --git a/InternetTest/InternetTest/Classes/Global.cs b/InternetTest/InternetTest/Classes/Global.cs
index ec76402..505043f 100644
--- a/InternetTest/InternetTest/Classes/Global.cs
+++ b/InternetTest/InternetTest/Classes/Global.cs
@@ -47,10 +47,10 @@ public static class Global
#if NIGHTLY
private static DateTime Date => System.IO.File.GetLastWriteTime(System.Reflection.Assembly.GetEntryAssembly().Location);
- public static string Version => $"8.2.0.2404-nightly{Date:yyMM.dd@HHmm}";
+ public static string Version => $"8.2.1.2404-nightly{Date:yyMM.dd@HHmm}";
#else
- public static string Version => "8.2.0.2404";
+ public static string Version => "8.2.1.2404";
#endif
public static string LastVersionLink => "https://raw.githubusercontent.com/Leo-Corporation/LeoCorp-Docs/master/Liens/Update%20System/InternetTest/7.0/Version.txt";
internal static string SynethiaPath => $@"{FileSys.AppDataPath}\Léo Corporation\InternetTest Pro\NewSynethiaConfig.json";
diff --git a/InternetTest/InternetTest/InternetTest.csproj b/InternetTest/InternetTest/InternetTest.csproj
index 69ee076..a6948ce 100644
--- a/InternetTest/InternetTest/InternetTest.csproj
+++ b/InternetTest/InternetTest/InternetTest.csproj
@@ -6,7 +6,7 @@
enable
true
True
- 8.2.0.2404
+ 8.2.1.2404
© 2024
Léo Corporation
Taking you to another level. InternetTest can locate IP addresses, send ping request, recover your WiFi passwords and more!
diff --git a/InternetTest/InternetTest/Pages/RequestsPage.xaml.cs b/InternetTest/InternetTest/Pages/RequestsPage.xaml.cs
index 47faf45..b405d66 100644
--- a/InternetTest/InternetTest/Pages/RequestsPage.xaml.cs
+++ b/InternetTest/InternetTest/Pages/RequestsPage.xaml.cs
@@ -62,6 +62,7 @@ private void SendBtn_Click(object sender, RoutedEventArgs e)
{
try
{
+ if (!UrlTxt.Text.Contains("http")) return;
ExecuteRequest();
}
catch (Exception ex)
@@ -74,25 +75,29 @@ private void SendBtn_Click(object sender, RoutedEventArgs e)
string _baseUrl = "";
private async void ExecuteRequest()
{
- var options = new RestClientOptions(UrlTxt.Text);
- var client = new RestClient(options);
- var request = new RestRequest("", (Method)RequestTypeComboBox.SelectedIndex);
+ try
+ {
+ var options = new RestClientOptions(UrlTxt.Text);
+ var client = new RestClient(options);
+ var request = new RestRequest("", (Method)RequestTypeComboBox.SelectedIndex);
- var response = await client.ExecuteAsync(request);
- ResponseTxt.Text = response.Content;
+ var response = await client.ExecuteAsync(request);
+ ResponseTxt.Text = response.Content;
- HeadersPanel.Children.Clear();
- _headers = "";
+ HeadersPanel.Children.Clear();
+ _headers = "";
- foreach (var item in response.Headers)
- {
- _headers += item.ToString() + "\n";
- var header = item.ToString().Split("=", 2);
- if (header.Length < 2) continue;
+ foreach (var item in response.Headers)
+ {
+ _headers += item.ToString() + "\n";
+ var header = item.ToString().Split("=", 2);
+ if (header.Length < 2) continue;
- HeadersPanel.Children.Add(new TextBlock() { Text = header[0], FontWeight = FontWeights.Bold, TextWrapping = TextWrapping.Wrap, Margin = new(0, 5, 0, 0) });
- HeadersPanel.Children.Add(new TextBlock() { Text = header[1], TextWrapping = TextWrapping.Wrap });
+ HeadersPanel.Children.Add(new TextBlock() { Text = header[0], FontWeight = FontWeights.Bold, TextWrapping = TextWrapping.Wrap, Margin = new(0, 5, 0, 0) });
+ HeadersPanel.Children.Add(new TextBlock() { Text = header[1], TextWrapping = TextWrapping.Wrap });
+ }
}
+ catch { }
}
private void UrlTxt_KeyUp(object sender, KeyEventArgs e)
diff --git a/InternetTest/InternetTest/Properties/Resources.it-IT.resx b/InternetTest/InternetTest/Properties/Resources.it-IT.resx
index 7d0bdae..3399791 100644
--- a/InternetTest/InternetTest/Properties/Resources.it-IT.resx
+++ b/InternetTest/InternetTest/Properties/Resources.it-IT.resx
@@ -319,7 +319,7 @@
Tempo medio
- La richiesta di ping è in corso. Attendi.
+ Richiesta di ping in corso. Attendi.
La richiesta ping è andata a buon fine
@@ -733,7 +733,7 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
Velocità
- Test velocità completato correttamente
+ Test velocità completato
Il test velocità è fallito
@@ -919,7 +919,7 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
Aggiungi sito
- Esecuzione automatica di test per verificare se un sito web è attivo o meno.
+ Esecuzione automatica test verifica se un sito web è attivo o meno.
Test di tutti
@@ -934,7 +934,7 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
Ethernet
- Si prega di fornire un URL valido.
+ Indica una URL valida.
Sconosciuto
@@ -964,7 +964,7 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
WiFi
- Non sono state trovate password WiFi su questo dispositivo.
+ In questo dispositivo non sono state trovate password WiFi.
InternetTest Pro sta cercando le password WiFi.
@@ -976,16 +976,16 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
Esportazione senza password
- Tutte le reti WiFi sono state esportate con successo.
+ Esportazione completata di tutte le reti WiFi.
- Consumo di dati
+ Consumo dati
Richieste
- Inviare
+ Invia
Risposta
@@ -994,6 +994,6 @@ Assolutamente NESSUN dato verrà inviato a Léo Corporation.
Intestazioni
- Cookies
+ Cookie
\ No newline at end of file