diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9053540 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.history +.vscode diff --git a/.history/DrApi_20241215174614.cs b/.history/DrApi_20241215174614.cs deleted file mode 100644 index 9814ecf..0000000 --- a/.history/DrApi_20241215174614.cs +++ /dev/null @@ -1,9 +0,0 @@ - - -class DrApi { - - static void DrApi(string username, string password) { - - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215175010.cs b/.history/DrApi_20241215175010.cs deleted file mode 100644 index 19be12f..0000000 --- a/.history/DrApi_20241215175010.cs +++ /dev/null @@ -1,9 +0,0 @@ - - -class DrApi { - - static void (string username, string password) { - - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215175033.cs b/.history/DrApi_20241215175033.cs deleted file mode 100644 index c654161..0000000 --- a/.history/DrApi_20241215175033.cs +++ /dev/null @@ -1,9 +0,0 @@ - - -class DrApi { - - static void pony (string username, string password) { - - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215175929.cs b/.history/DrApi_20241215175929.cs deleted file mode 100644 index cfb5206..0000000 --- a/.history/DrApi_20241215175929.cs +++ /dev/null @@ -1,17 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static void get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215175930.cs b/.history/DrApi_20241215175930.cs deleted file mode 100644 index cfb5206..0000000 --- a/.history/DrApi_20241215175930.cs +++ /dev/null @@ -1,17 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static void get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180014.cs b/.history/DrApi_20241215180014.cs deleted file mode 100644 index c83e9a8..0000000 --- a/.history/DrApi_20241215180014.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static void get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180032.cs b/.history/DrApi_20241215180032.cs deleted file mode 100644 index 6d05f05..0000000 --- a/.history/DrApi_20241215180032.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180054.cs b/.history/DrApi_20241215180054.cs deleted file mode 100644 index 2dd6e98..0000000 --- a/.history/DrApi_20241215180054.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response.ToString()); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180055.cs b/.history/DrApi_20241215180055.cs deleted file mode 100644 index 2dd6e98..0000000 --- a/.history/DrApi_20241215180055.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response.ToString()); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180126.cs b/.history/DrApi_20241215180126.cs deleted file mode 100644 index 2525747..0000000 --- a/.history/DrApi_20241215180126.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response.ToString()); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180127.cs b/.history/DrApi_20241215180127.cs deleted file mode 100644 index 2525747..0000000 --- a/.history/DrApi_20241215180127.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response.ToString()); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180146.cs b/.history/DrApi_20241215180146.cs deleted file mode 100644 index 0793ca2..0000000 --- a/.history/DrApi_20241215180146.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static string get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180301.cs b/.history/DrApi_20241215180301.cs deleted file mode 100644 index 44c5bc1..0000000 --- a/.history/DrApi_20241215180301.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static string get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180302.cs b/.history/DrApi_20241215180302.cs deleted file mode 100644 index 44c5bc1..0000000 --- a/.history/DrApi_20241215180302.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static string get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180317.cs b/.history/DrApi_20241215180317.cs deleted file mode 100644 index fc1ed52..0000000 --- a/.history/DrApi_20241215180317.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static Task get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180321.cs b/.history/DrApi_20241215180321.cs deleted file mode 100644 index 600632a..0000000 --- a/.history/DrApi_20241215180321.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180626.cs b/.history/DrApi_20241215180626.cs deleted file mode 100644 index 663aea1..0000000 --- a/.history/DrApi_20241215180626.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180732.cs b/.history/DrApi_20241215180732.cs deleted file mode 100644 index 600632a..0000000 --- a/.history/DrApi_20241215180732.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180733.cs b/.history/DrApi_20241215180733.cs deleted file mode 100644 index 600632a..0000000 --- a/.history/DrApi_20241215180733.cs +++ /dev/null @@ -1,18 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180756.cs b/.history/DrApi_20241215180756.cs deleted file mode 100644 index fffafc8..0000000 --- a/.history/DrApi_20241215180756.cs +++ /dev/null @@ -1,19 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = await HTTP.get(url); - return ""; - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180757.cs b/.history/DrApi_20241215180757.cs deleted file mode 100644 index fffafc8..0000000 --- a/.history/DrApi_20241215180757.cs +++ /dev/null @@ -1,19 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - string response = await HTTP.get(url); - return ""; - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180806.cs b/.history/DrApi_20241215180806.cs deleted file mode 100644 index 24a25a0..0000000 --- a/.history/DrApi_20241215180806.cs +++ /dev/null @@ -1,20 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - return ""; - - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180807.cs b/.history/DrApi_20241215180807.cs deleted file mode 100644 index 24a25a0..0000000 --- a/.history/DrApi_20241215180807.cs +++ /dev/null @@ -1,20 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - return ""; - - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180817.cs b/.history/DrApi_20241215180817.cs deleted file mode 100644 index 3edfc72..0000000 --- a/.history/DrApi_20241215180817.cs +++ /dev/null @@ -1,19 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215180818.cs b/.history/DrApi_20241215180818.cs deleted file mode 100644 index 3edfc72..0000000 --- a/.history/DrApi_20241215180818.cs +++ /dev/null @@ -1,19 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215181209.cs b/.history/DrApi_20241215181209.cs deleted file mode 100644 index 6f0a43d..0000000 --- a/.history/DrApi_20241215181209.cs +++ /dev/null @@ -1,20 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url); - Console.writeLine("AFTER GET"); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215181210.cs b/.history/DrApi_20241215181210.cs deleted file mode 100644 index 6f0a43d..0000000 --- a/.history/DrApi_20241215181210.cs +++ /dev/null @@ -1,20 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url); - Console.writeLine("AFTER GET"); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241215181214.cs b/.history/DrApi_20241215181214.cs deleted file mode 100644 index 7b608f0..0000000 --- a/.history/DrApi_20241215181214.cs +++ /dev/null @@ -1,20 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url); - Console.WriteLine("AFTER GET"); - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.InnerText); - } - return null; - } - -} \ No newline at end of file diff --git a/.history/DrApi_20241216222031.cs b/.history/DrApi_20241216222031.cs deleted file mode 100644 index f3de0cc..0000000 --- a/.history/DrApi_20241216222031.cs +++ /dev/null @@ -1,25 +0,0 @@ -using HtmlAgilityPack; -using System; -using System.Linq; - -class DrApi { - - public static async Task get_rants (string url) { - - string response = await HTTP.get(url).ConfigureAwait(false);; - HtmlDocument doc = new HtmlDocument(); - doc.LoadHtml(response); - var nodes = doc.DocumentNode.SelectNodes("//a"); - //var nodes = doc.DocumentNode.SelectNodes("//a[contains(@class,'rantlist-content-col')"); - //var nodes = doc.DocumentNode.SelectNodes("//div[contains(@class, 'rant-comment-row-widget')]"); - foreach (var node in nodes) { - Console.WriteLine(node.GetAttributeValue("class","None")); - if(node.GetAttributeValue("class","None") == "rantlist-bglink"){ - - Console.WriteLine(node.InnerText); - } - } - return null; - } - -} diff --git a/.history/HTTP_20241215174639.cs b/.history/HTTP_20241215174639.cs deleted file mode 100644 index e69de29..0000000 diff --git a/.history/HTTP_20241215174731.cs b/.history/HTTP_20241215174731.cs deleted file mode 100644 index abe0e20..0000000 --- a/.history/HTTP_20241215174731.cs +++ /dev/null @@ -1,34 +0,0 @@ - // The URL of the API or website you want to make a request to - -string http_get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } \ No newline at end of file diff --git a/.history/HTTP_20241215174805.cs b/.history/HTTP_20241215174805.cs deleted file mode 100644 index dab49d4..0000000 --- a/.history/HTTP_20241215174805.cs +++ /dev/null @@ -1,38 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -string http_get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } \ No newline at end of file diff --git a/.history/HTTP_20241215174806.cs b/.history/HTTP_20241215174806.cs deleted file mode 100644 index dab49d4..0000000 --- a/.history/HTTP_20241215174806.cs +++ /dev/null @@ -1,38 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -string http_get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } \ No newline at end of file diff --git a/.history/HTTP_20241215175422.cs b/.history/HTTP_20241215175422.cs deleted file mode 100644 index ef56e5c..0000000 --- a/.history/HTTP_20241215175422.cs +++ /dev/null @@ -1,39 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -string http_get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } - \ No newline at end of file diff --git a/.history/HTTP_20241215175457.cs b/.history/HTTP_20241215175457.cs deleted file mode 100644 index f3866ff..0000000 --- a/.history/HTTP_20241215175457.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static string http_get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215175503.cs b/.history/HTTP_20241215175503.cs deleted file mode 100644 index 66b1786..0000000 --- a/.history/HTTP_20241215175503.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215175544.cs b/.history/HTTP_20241215175544.cs deleted file mode 100644 index d47288e..0000000 --- a/.history/HTTP_20241215175544.cs +++ /dev/null @@ -1,42 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - // Create an instance of HttpClient - using (HttpClient client = new HttpClient()) - { - try - { - // Send a GET request to the specified URL - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the response is successful (status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string - string responseData = await response.Content.ReadAsStringAsync(); - - // Print the response to the console - Console.WriteLine(responseData); - return responseData; - } - else - { - // Handle the error if the status code is not successful - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - // Handle any exceptions (e.g., network errors) - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180404.cs b/.history/HTTP_20241215180404.cs deleted file mode 100644 index b95665a..0000000 --- a/.history/HTTP_20241215180404.cs +++ /dev/null @@ -1,35 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180405.cs b/.history/HTTP_20241215180405.cs deleted file mode 100644 index b95665a..0000000 --- a/.history/HTTP_20241215180405.cs +++ /dev/null @@ -1,35 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180410.cs b/.history/HTTP_20241215180410.cs deleted file mode 100644 index 44be854..0000000 --- a/.history/HTTP_20241215180410.cs +++ /dev/null @@ -1,33 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180645.cs b/.history/HTTP_20241215180645.cs deleted file mode 100644 index 3a3b61c..0000000 --- a/.history/HTTP_20241215180645.cs +++ /dev/null @@ -1,33 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180655.cs b/.history/HTTP_20241215180655.cs deleted file mode 100644 index ba411ab..0000000 --- a/.history/HTTP_20241215180655.cs +++ /dev/null @@ -1,33 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async string get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180712.cs b/.history/HTTP_20241215180712.cs deleted file mode 100644 index 44be854..0000000 --- a/.history/HTTP_20241215180712.cs +++ /dev/null @@ -1,33 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180849.cs b/.history/HTTP_20241215180849.cs deleted file mode 100644 index 89978ea..0000000 --- a/.history/HTTP_20241215180849.cs +++ /dev/null @@ -1,35 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - Console.writeLine("SUCCESS\n"); - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180850.cs b/.history/HTTP_20241215180850.cs deleted file mode 100644 index 89978ea..0000000 --- a/.history/HTTP_20241215180850.cs +++ /dev/null @@ -1,35 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - Console.writeLine("SUCCESS\n"); - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180902.cs b/.history/HTTP_20241215180902.cs deleted file mode 100644 index 1dd7d7f..0000000 --- a/.history/HTTP_20241215180902.cs +++ /dev/null @@ -1,35 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - Console.WriteLine("SUCCESS\n"); - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180913.cs b/.history/HTTP_20241215180913.cs deleted file mode 100644 index 574c609..0000000 --- a/.history/HTTP_20241215180913.cs +++ /dev/null @@ -1,36 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - Console.WriteLine("SUCCESS\n"); - - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180914.cs b/.history/HTTP_20241215180914.cs deleted file mode 100644 index 574c609..0000000 --- a/.history/HTTP_20241215180914.cs +++ /dev/null @@ -1,36 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - Console.WriteLine("SUCCESS\n"); - - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180926.cs b/.history/HTTP_20241215180926.cs deleted file mode 100644 index 3974286..0000000 --- a/.history/HTTP_20241215180926.cs +++ /dev/null @@ -1,36 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180927.cs b/.history/HTTP_20241215180927.cs deleted file mode 100644 index 3974286..0000000 --- a/.history/HTTP_20241215180927.cs +++ /dev/null @@ -1,36 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215180954.cs b/.history/HTTP_20241215180954.cs deleted file mode 100644 index 0ce8d44..0000000 --- a/.history/HTTP_20241215180954.cs +++ /dev/null @@ -1,38 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - public static async Task get(string url){ - using (HttpClient client = new HttpClient()) - { - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - } - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181122.cs b/.history/HTTP_20241215181122.cs deleted file mode 100644 index 99819be..0000000 --- a/.history/HTTP_20241215181122.cs +++ /dev/null @@ -1,39 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(); - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181123.cs b/.history/HTTP_20241215181123.cs deleted file mode 100644 index 99819be..0000000 --- a/.history/HTTP_20241215181123.cs +++ /dev/null @@ -1,39 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(); - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181258.cs b/.history/HTTP_20241215181258.cs deleted file mode 100644 index e215e09..0000000 --- a/.history/HTTP_20241215181258.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181259.cs b/.history/HTTP_20241215181259.cs deleted file mode 100644 index e215e09..0000000 --- a/.history/HTTP_20241215181259.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181634.cs b/.history/HTTP_20241215181634.cs deleted file mode 100644 index 768a138..0000000 --- a/.history/HTTP_20241215181634.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = client.GET(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181635.cs b/.history/HTTP_20241215181635.cs deleted file mode 100644 index 768a138..0000000 --- a/.history/HTTP_20241215181635.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = client.GET(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181645.cs b/.history/HTTP_20241215181645.cs deleted file mode 100644 index c926bd5..0000000 --- a/.history/HTTP_20241215181645.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = client.Get(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181706.cs b/.history/HTTP_20241215181706.cs deleted file mode 100644 index 7ffe0d5..0000000 --- a/.history/HTTP_20241215181706.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181725.cs b/.history/HTTP_20241215181725.cs deleted file mode 100644 index e215e09..0000000 --- a/.history/HTTP_20241215181725.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return null; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181742.cs b/.history/HTTP_20241215181742.cs deleted file mode 100644 index 1556ce4..0000000 --- a/.history/HTTP_20241215181742.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return ""; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241215181753.cs b/.history/HTTP_20241215181753.cs deleted file mode 100644 index b721876..0000000 --- a/.history/HTTP_20241215181753.cs +++ /dev/null @@ -1,41 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - -} \ No newline at end of file diff --git a/.history/HTTP_20241216222047.cs b/.history/HTTP_20241216222047.cs deleted file mode 100644 index 99d37da..0000000 --- a/.history/HTTP_20241216222047.cs +++ /dev/null @@ -1,42 +0,0 @@ - // The URL of the API or website you want to make a request to -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url,HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false); - - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync().ConfigureAwait(false);; - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - -} diff --git a/.history/HTTP_20241216222140.cs b/.history/HTTP_20241216222140.cs deleted file mode 100644 index ad39dbb..0000000 --- a/.history/HTTP_20241216222140.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - -private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) -}; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url,HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false); - - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync().ConfigureAwait(false);; - - return responseData; - } - else - { - Console.WriteLine(response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine(ex.Message); - } - return null; - } - -} diff --git a/.history/HTTP_20241216222146.cs b/.history/HTTP_20241216222146.cs deleted file mode 100644 index 54e9a12..0000000 --- a/.history/HTTP_20241216222146.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Net.Http; -using System.Text; -using System.Threading.Tasks; - -static class HTTP { - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url,HttpCompletionOption.ResponseHeadersRead).ConfigureAwait(false); - - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync().ConfigureAwait(false);; - - return responseData; - } - else - { - Console.WriteLine(response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine(ex.Message); - } - return null; - } - -} diff --git a/.history/HttpHelper_20241215182118.cs b/.history/HttpHelper_20241215182118.cs deleted file mode 100644 index e69de29..0000000 diff --git a/.history/HttpHelper_20241215182128.cs b/.history/HttpHelper_20241215182128.cs deleted file mode 100644 index fc967ec..0000000 --- a/.history/HttpHelper_20241215182128.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.Net.Http; -using System.Threading.Tasks; - -public class HttpHelper -{ - // Reuse a static HttpClient for the entire application to prevent socket exhaustion - private static readonly HttpClient client = new HttpClient() - { - Timeout = TimeSpan.FromSeconds(10) // Set a timeout for the HTTP request - }; - - // Function to get the content of the URL - public static async Task GetContentsAsync(string url) - { - try - { - // Send an HTTP GET request - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the request was successful (HTTP status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string and return it - string content = await response.Content.ReadAsStringAsync(); - return content; - } - else - { - Console.WriteLine($"Error: {response.StatusCode}"); - } - } - catch (Exception ex) - { - // Handle exceptions (e.g., network issues, invalid URLs) - Console.WriteLine($"Exception: {ex.Message}"); - } - - return null; - } -} \ No newline at end of file diff --git a/.history/HttpHelper_20241215182414.cs b/.history/HttpHelper_20241215182414.cs deleted file mode 100644 index 4648f3a..0000000 --- a/.history/HttpHelper_20241215182414.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Net.Http; -using System.Threading.Tasks; - -public class HttpHelper -{ - // Reuse a static HttpClient for the entire application to prevent socket exhaustion - private static readonly HttpClient client = new HttpClient() - { - Timeout = TimeSpan.FromSeconds(10) // Set a timeout for the HTTP request - }; - - // Function to get the content of the URL - public static async Task GetContentsAsync(string url) - { - try - { - // Send an HTTP GET request - HttpResponseMessage response = await client.GetAsync(url); - - // Check if the request was successful (HTTP status code 200) - if (response.IsSuccessStatusCode) - { - // Read the response content as a string and return it - string content = await response.Content.ReadAsStringAsync(); - Console.WriteLine(content); - return content; - } - else - { - Console.WriteLine($"Error: {response.StatusCode}"); - } - } - catch (Exception ex) - { - // Handle exceptions (e.g., network issues, invalid URLs) - Console.WriteLine($"Exception: {ex.Message}"); - } - - return null; - } -} \ No newline at end of file diff --git a/.history/Program_20241215144638.cs b/.history/Program_20241215144638.cs deleted file mode 100644 index 92f1098..0000000 --- a/.history/Program_20241215144638.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215174838.cs b/.history/Program_20241215174838.cs deleted file mode 100644 index 2245f20..0000000 --- a/.history/Program_20241215174838.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - http_get("https://devrant.com/feed/recent") - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215174853.cs b/.history/Program_20241215174853.cs deleted file mode 100644 index ab396fc..0000000 --- a/.history/Program_20241215174853.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Connsole.WriteLine(http_get("https://devrant.com/feed/recent")) - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215174910.cs b/.history/Program_20241215174910.cs deleted file mode 100644 index 335e683..0000000 --- a/.history/Program_20241215174910.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Connsole.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175107.cs b/.history/Program_20241215175107.cs deleted file mode 100644 index d4ffac2..0000000 --- a/.history/Program_20241215175107.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175108.cs b/.history/Program_20241215175108.cs deleted file mode 100644 index d4ffac2..0000000 --- a/.history/Program_20241215175108.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175127.cs b/.history/Program_20241215175127.cs deleted file mode 100644 index 328bbce..0000000 --- a/.history/Program_20241215175127.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Program(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175128.cs b/.history/Program_20241215175128.cs deleted file mode 100644 index 328bbce..0000000 --- a/.history/Program_20241215175128.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void Program(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175136.cs b/.history/Program_20241215175136.cs deleted file mode 100644 index 1fd8942..0000000 --- a/.history/Program_20241215175136.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175308.cs b/.history/Program_20241215175308.cs deleted file mode 100644 index 276f6dc..0000000 --- a/.history/Program_20241215175308.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -public static class Program { - - static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175309.cs b/.history/Program_20241215175309.cs deleted file mode 100644 index 276f6dc..0000000 --- a/.history/Program_20241215175309.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -public static class Program { - - static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175339.cs b/.history/Program_20241215175339.cs deleted file mode 100644 index 6952619..0000000 --- a/.history/Program_20241215175339.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - public static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175340.cs b/.history/Program_20241215175340.cs deleted file mode 100644 index 6952619..0000000 --- a/.history/Program_20241215175340.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -class Program { - - public static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175427.cs b/.history/Program_20241215175427.cs deleted file mode 100644 index 7a3c8c3..0000000 --- a/.history/Program_20241215175427.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(http_get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175520.cs b/.history/Program_20241215175520.cs deleted file mode 100644 index 69c4c14..0000000 --- a/.history/Program_20241215175520.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(HTTP.get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175559.cs b/.history/Program_20241215175559.cs deleted file mode 100644 index 3ecfac4..0000000 --- a/.history/Program_20241215175559.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(HTTP.get("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175944.cs b/.history/Program_20241215175944.cs deleted file mode 100644 index ae6a44d..0000000 --- a/.history/Program_20241215175944.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(devrant.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175945.cs b/.history/Program_20241215175945.cs deleted file mode 100644 index ae6a44d..0000000 --- a/.history/Program_20241215175945.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(devrant.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175948.cs b/.history/Program_20241215175948.cs deleted file mode 100644 index 5a7cd70..0000000 --- a/.history/Program_20241215175948.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215175949.cs b/.history/Program_20241215175949.cs deleted file mode 100644 index 5a7cd70..0000000 --- a/.history/Program_20241215175949.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180415.cs b/.history/Program_20241215180415.cs deleted file mode 100644 index 5a7cd70..0000000 --- a/.history/Program_20241215180415.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180440.cs b/.history/Program_20241215180440.cs deleted file mode 100644 index b5fc4af..0000000 --- a/.history/Program_20241215180440.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180455.cs b/.history/Program_20241215180455.cs deleted file mode 100644 index ec47004..0000000 --- a/.history/Program_20241215180455.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180500.cs b/.history/Program_20241215180500.cs deleted file mode 100644 index 58f158b..0000000 --- a/.history/Program_20241215180500.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - public static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180529.cs b/.history/Program_20241215180529.cs deleted file mode 100644 index 34d0b3a..0000000 --- a/.history/Program_20241215180529.cs +++ /dev/null @@ -1,18 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180550.cs b/.history/Program_20241215180550.cs deleted file mode 100644 index c115a20..0000000 --- a/.history/Program_20241215180550.cs +++ /dev/null @@ -1,19 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180604.cs b/.history/Program_20241215180604.cs deleted file mode 100644 index b3737c3..0000000 --- a/.history/Program_20241215180604.cs +++ /dev/null @@ -1,21 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215180605.cs b/.history/Program_20241215180605.cs deleted file mode 100644 index b3737c3..0000000 --- a/.history/Program_20241215180605.cs +++ /dev/null @@ -1,21 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181412.cs b/.history/Program_20241215181412.cs deleted file mode 100644 index a5f4218..0000000 --- a/.history/Program_20241215181412.cs +++ /dev/null @@ -1,21 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent/")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181413.cs b/.history/Program_20241215181413.cs deleted file mode 100644 index a5f4218..0000000 --- a/.history/Program_20241215181413.cs +++ /dev/null @@ -1,21 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://devrant.com/feed/recent/")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181423.cs b/.history/Program_20241215181423.cs deleted file mode 100644 index eea6c92..0000000 --- a/.history/Program_20241215181423.cs +++ /dev/null @@ -1,21 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181436.cs b/.history/Program_20241215181436.cs deleted file mode 100644 index 398d5f9..0000000 --- a/.history/Program_20241215181436.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - DrApi.get_rants("https://www.google.nl")) - Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181437.cs b/.history/Program_20241215181437.cs deleted file mode 100644 index 398d5f9..0000000 --- a/.history/Program_20241215181437.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - DrApi.get_rants("https://www.google.nl")) - Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181458.cs b/.history/Program_20241215181458.cs deleted file mode 100644 index 8c463e4..0000000 --- a/.history/Program_20241215181458.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HTTP.get("https://www.google.nl")) - Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181508.cs b/.history/Program_20241215181508.cs deleted file mode 100644 index 504a6f2..0000000 --- a/.history/Program_20241215181508.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HTTP.get("https://www.google.nl")); - Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181521.cs b/.history/Program_20241215181521.cs deleted file mode 100644 index cfa1568..0000000 --- a/.history/Program_20241215181521.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HTTP.get("https://www.google.nl")); - #Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181522.cs b/.history/Program_20241215181522.cs deleted file mode 100644 index cfa1568..0000000 --- a/.history/Program_20241215181522.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HTTP.get("https://www.google.nl")); - #Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181533.cs b/.history/Program_20241215181533.cs deleted file mode 100644 index e76544f..0000000 --- a/.history/Program_20241215181533.cs +++ /dev/null @@ -1,22 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HTTP.get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181842.cs b/.history/Program_20241215181842.cs deleted file mode 100644 index fb35f84..0000000 --- a/.history/Program_20241215181842.cs +++ /dev/null @@ -1,56 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181843.cs b/.history/Program_20241215181843.cs deleted file mode 100644 index fb35f84..0000000 --- a/.history/Program_20241215181843.cs +++ /dev/null @@ -1,56 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181859.cs b/.history/Program_20241215181859.cs deleted file mode 100644 index 17336b9..0000000 --- a/.history/Program_20241215181859.cs +++ /dev/null @@ -1,56 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181918.cs b/.history/Program_20241215181918.cs deleted file mode 100644 index f34e2fe..0000000 --- a/.history/Program_20241215181918.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync(url); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181933.cs b/.history/Program_20241215181933.cs deleted file mode 100644 index f48396d..0000000 --- a/.history/Program_20241215181933.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181934.cs b/.history/Program_20241215181934.cs deleted file mode 100644 index f48396d..0000000 --- a/.history/Program_20241215181934.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215181957.cs b/.history/Program_20241215181957.cs deleted file mode 100644 index 6d9bc82..0000000 --- a/.history/Program_20241215181957.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182011.cs b/.history/Program_20241215182011.cs deleted file mode 100644 index 0f17010..0000000 --- a/.history/Program_20241215182011.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182019.cs b/.history/Program_20241215182019.cs deleted file mode 100644 index f48396d..0000000 --- a/.history/Program_20241215182019.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await get("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182148.cs b/.history/Program_20241215182148.cs deleted file mode 100644 index 34cc930..0000000 --- a/.history/Program_20241215182148.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HttpHelper.GetContentsAsync("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182149.cs b/.history/Program_20241215182149.cs deleted file mode 100644 index 34cc930..0000000 --- a/.history/Program_20241215182149.cs +++ /dev/null @@ -1,60 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - Console.WriteLine(await HttpHelper.GetContentsAsync("https://www.google.nl")); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182240.cs b/.history/Program_20241215182240.cs deleted file mode 100644 index c130f76..0000000 --- a/.history/Program_20241215182240.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://www.google.nl"); - Cosnole.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182255.cs b/.history/Program_20241215182255.cs deleted file mode 100644 index 2f40562..0000000 --- a/.history/Program_20241215182255.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://www.google.nl"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182328.cs b/.history/Program_20241215182328.cs deleted file mode 100644 index c9f5a91..0000000 --- a/.history/Program_20241215182328.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://localhost:9000"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182329.cs b/.history/Program_20241215182329.cs deleted file mode 100644 index c9f5a91..0000000 --- a/.history/Program_20241215182329.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://localhost:9000"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182341.cs b/.history/Program_20241215182341.cs deleted file mode 100644 index 84a8ae6..0000000 --- a/.history/Program_20241215182341.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182342.cs b/.history/Program_20241215182342.cs deleted file mode 100644 index 84a8ae6..0000000 --- a/.history/Program_20241215182342.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("https://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182611.cs b/.history/Program_20241215182611.cs deleted file mode 100644 index abab855..0000000 --- a/.history/Program_20241215182611.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182612.cs b/.history/Program_20241215182612.cs deleted file mode 100644 index abab855..0000000 --- a/.history/Program_20241215182612.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182636.cs b/.history/Program_20241215182636.cs deleted file mode 100644 index 8a53e2a..0000000 --- a/.history/Program_20241215182636.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async void Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182646.cs b/.history/Program_20241215182646.cs deleted file mode 100644 index 04c37b6..0000000 --- a/.history/Program_20241215182646.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182647.cs b/.history/Program_20241215182647.cs deleted file mode 100644 index 04c37b6..0000000 --- a/.history/Program_20241215182647.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182700.cs b/.history/Program_20241215182700.cs deleted file mode 100644 index abab855..0000000 --- a/.history/Program_20241215182700.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182701.cs b/.history/Program_20241215182701.cs deleted file mode 100644 index abab855..0000000 --- a/.history/Program_20241215182701.cs +++ /dev/null @@ -1,61 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182751.cs b/.history/Program_20241215182751.cs deleted file mode 100644 index ccd5614..0000000 --- a/.history/Program_20241215182751.cs +++ /dev/null @@ -1,64 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241215182752.cs b/.history/Program_20241215182752.cs deleted file mode 100644 index ccd5614..0000000 --- a/.history/Program_20241215182752.cs +++ /dev/null @@ -1,64 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - public static async Task get(string url){ - try - { - Console.WriteLine("SUCCESS\n " + url); - - HttpResponseMessage response = await client.GetAsync("https://google.nl"); - - Console.WriteLine("SUCCESS3\n " + url); - - if (response.IsSuccessStatusCode) - { - string responseData = await response.Content.ReadAsStringAsync(); - Console.WriteLine(responseData); - return responseData; - } - else - { - Console.WriteLine("Error: " + response.StatusCode); - } - } - catch (Exception ex) - { - Console.WriteLine("Exception occurred: " + ex.Message); - } - - return "zzz"; - } - - - static async Task Main(string[] args){ - Application.Init(); - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - Console.WriteLine("DID TASK\n"); - string result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - result = await HttpHelper.GetContentsAsync("http://localhost:9999"); - Console.WriteLine(result); - - //Console.WriteLine(await DrApi.get_rants("https://www.google.nl")); - Console.WriteLine("DID TASK2\n"); - - window.ShowAll(); - Application.Run(); - - } -} - diff --git a/.history/Program_20241216222214.cs b/.history/Program_20241216222214.cs deleted file mode 100644 index a7088a9..0000000 --- a/.history/Program_20241216222214.cs +++ /dev/null @@ -1,32 +0,0 @@ -// See https://aka.ms/new-console-template for more information - -using Gtk; - -using System; -using System.Net.Http; -using System.Threading.Tasks; - -partial class Program { - - - private static readonly HttpClient client = new HttpClient(){ - Timeout = TimeSpan.FromSeconds(10) // Set a timeout to avoid hanging - }; - - static async Task Main(string[] args){ - Application.Init(); - - var window = new Window("My TEst"); - window.SetDefaultSize(320,240); - window.DeleteEvent += (o,e) => Application.Quit(); - - string result = await DrApi.get_rants("https://devrant.com/feed/recent"); - Console.WriteLine(result); - - window.ShowAll(); - - Application.Run(); - - } -} - diff --git a/.history/README_20241216222339.md b/.history/README_20241216222339.md deleted file mode 100644 index e69de29..0000000 diff --git a/.history/README_20241216222604.md b/.history/README_20241216222604.md deleted file mode 100644 index 07d686b..0000000 --- a/.history/README_20241216222604.md +++ /dev/null @@ -1,6 +0,0 @@ -# DRApi.NET - -devRant .NET API client using both the website and API to get the prefered data. - -## Why? -The dR official api times out when there's much data under a profile or a rant so this is when web scraping is preferred. If web scraping option is possible for the type of data, the web scraping option is perferred. \ No newline at end of file diff --git a/.history/README_20241216222605.md b/.history/README_20241216222605.md deleted file mode 100644 index 07d686b..0000000 --- a/.history/README_20241216222605.md +++ /dev/null @@ -1,6 +0,0 @@ -# DRApi.NET - -devRant .NET API client using both the website and API to get the prefered data. - -## Why? -The dR official api times out when there's much data under a profile or a rant so this is when web scraping is preferred. If web scraping option is possible for the type of data, the web scraping option is perferred. \ No newline at end of file diff --git a/.history/README_20241216222726.md b/.history/README_20241216222726.md deleted file mode 100644 index 8cac34f..0000000 --- a/.history/README_20241216222726.md +++ /dev/null @@ -1,11 +0,0 @@ -# NOT A SERIUS PROJECT [ JUST TESTING C# ON LINUX ] - -So far, pretty great but the errors of C# are very below level in comparision to Python or even C. - -## DRApi.NET - -devRant .NET API client using both the website and API to get the prefered data. - -### Why? -The dR official api times out when there's much data under a profile or a rant so this is when web scraping is preferred. If web scraping option is possible for the type of data, the web scraping option is perferred. - diff --git a/bin/Debug/net8.0/desk.dll b/bin/Debug/net8.0/desk.dll deleted file mode 100644 index f9af19b..0000000 Binary files a/bin/Debug/net8.0/desk.dll and /dev/null differ diff --git a/bin/Debug/net8.0/desk b/bin/Debug/net8.0/drnetapi similarity index 99% rename from bin/Debug/net8.0/desk rename to bin/Debug/net8.0/drnetapi index c137974..1d6faf1 100755 Binary files a/bin/Debug/net8.0/desk and b/bin/Debug/net8.0/drnetapi differ diff --git a/bin/Debug/net8.0/desk.deps.json b/bin/Debug/net8.0/drnetapi.deps.json similarity index 98% rename from bin/Debug/net8.0/desk.deps.json rename to bin/Debug/net8.0/drnetapi.deps.json index cd7995e..6550663 100644 --- a/bin/Debug/net8.0/desk.deps.json +++ b/bin/Debug/net8.0/drnetapi.deps.json @@ -6,13 +6,13 @@ "compilationOptions": {}, "targets": { ".NETCoreApp,Version=v8.0": { - "desk/1.0.0": { + "drnetapi/1.0.0": { "dependencies": { "GtkSharp": "3.24.24.95", "HtmlAgilityPack": "1.11.71" }, "runtime": { - "desk.dll": {} + "drnetapi.dll": {} } }, "AtkSharp/3.24.24.95": { @@ -106,7 +106,7 @@ } }, "libraries": { - "desk/1.0.0": { + "drnetapi/1.0.0": { "type": "project", "serviceable": false, "sha512": "" diff --git a/bin/Debug/net8.0/drnetapi.dll b/bin/Debug/net8.0/drnetapi.dll new file mode 100644 index 0000000..21bb214 Binary files /dev/null and b/bin/Debug/net8.0/drnetapi.dll differ diff --git a/bin/Debug/net8.0/desk.pdb b/bin/Debug/net8.0/drnetapi.pdb similarity index 88% rename from bin/Debug/net8.0/desk.pdb rename to bin/Debug/net8.0/drnetapi.pdb index 6f323c1..0fa3e4b 100644 Binary files a/bin/Debug/net8.0/desk.pdb and b/bin/Debug/net8.0/drnetapi.pdb differ diff --git a/bin/Debug/net8.0/desk.runtimeconfig.json b/bin/Debug/net8.0/drnetapi.runtimeconfig.json similarity index 100% rename from bin/Debug/net8.0/desk.runtimeconfig.json rename to bin/Debug/net8.0/drnetapi.runtimeconfig.json diff --git a/bin/debug/net8.0/AtkSharp.dll b/bin/debug/net8.0/AtkSharp.dll deleted file mode 100755 index 6fadf5c..0000000 Binary files a/bin/debug/net8.0/AtkSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/CairoSharp.dll b/bin/debug/net8.0/CairoSharp.dll deleted file mode 100755 index ad0efd2..0000000 Binary files a/bin/debug/net8.0/CairoSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/GLibSharp.dll b/bin/debug/net8.0/GLibSharp.dll deleted file mode 100755 index 0b5ac48..0000000 Binary files a/bin/debug/net8.0/GLibSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/GdkSharp.dll b/bin/debug/net8.0/GdkSharp.dll deleted file mode 100755 index 0371601..0000000 Binary files a/bin/debug/net8.0/GdkSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/GioSharp.dll b/bin/debug/net8.0/GioSharp.dll deleted file mode 100755 index 148f15e..0000000 Binary files a/bin/debug/net8.0/GioSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/GtkSharp.dll b/bin/debug/net8.0/GtkSharp.dll deleted file mode 100755 index 26ef061..0000000 Binary files a/bin/debug/net8.0/GtkSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/HtmlAgilityPack.dll b/bin/debug/net8.0/HtmlAgilityPack.dll deleted file mode 100755 index d25df06..0000000 Binary files a/bin/debug/net8.0/HtmlAgilityPack.dll and /dev/null differ diff --git a/bin/debug/net8.0/PangoSharp.dll b/bin/debug/net8.0/PangoSharp.dll deleted file mode 100755 index 2c96ace..0000000 Binary files a/bin/debug/net8.0/PangoSharp.dll and /dev/null differ diff --git a/bin/debug/net8.0/desk b/bin/debug/net8.0/desk deleted file mode 100755 index c137974..0000000 Binary files a/bin/debug/net8.0/desk and /dev/null differ diff --git a/bin/debug/net8.0/desk.deps.json b/bin/debug/net8.0/desk.deps.json deleted file mode 100644 index cd7995e..0000000 --- a/bin/debug/net8.0/desk.deps.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v8.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v8.0": { - "desk/1.0.0": { - "dependencies": { - "GtkSharp": "3.24.24.95", - "HtmlAgilityPack": "1.11.71" - }, - "runtime": { - "desk.dll": {} - } - }, - "AtkSharp/3.24.24.95": { - "dependencies": { - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/AtkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "CairoSharp/3.24.24.95": { - "runtime": { - "lib/net6.0/CairoSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GdkSharp/3.24.24.95": { - "dependencies": { - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95", - "GioSharp": "3.24.24.95", - "PangoSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GdkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GioSharp/3.24.24.95": { - "dependencies": { - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GioSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GLibSharp/3.24.24.95": { - "runtime": { - "lib/net6.0/GLibSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GtkSharp/3.24.24.95": { - "dependencies": { - "AtkSharp": "3.24.24.95", - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95", - "GdkSharp": "3.24.24.95", - "GioSharp": "3.24.24.95", - "PangoSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GtkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "HtmlAgilityPack/1.11.71": { - "runtime": { - "lib/netstandard2.0/HtmlAgilityPack.dll": { - "assemblyVersion": "1.11.71.0", - "fileVersion": "1.11.71.0" - } - } - }, - "PangoSharp/3.24.24.95": { - "dependencies": { - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/PangoSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - } - } - }, - "libraries": { - "desk/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" - }, - "AtkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-LnSfsc0y11gfzczZj5bnpwcFkXFZuVTSSd92ML/FcHIM7FU+cAfm1UkAonv5BdwTRhzDbNDE39vihao/k75sUA==", - "path": "atksharp/3.24.24.95", - "hashPath": "atksharp.3.24.24.95.nupkg.sha512" - }, - "CairoSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-EZ9KT3pwVAol35XbZW0Uwdg2LqhDvPnWdhqIrsedhDx+Omnu56hLzxh8mZGqmQvEwJE8Opbda4w9CqDtXbX6Vw==", - "path": "cairosharp/3.24.24.95", - "hashPath": "cairosharp.3.24.24.95.nupkg.sha512" - }, - "GdkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-rABpIGkxr8lOdyhEmrKXzjih3z3932kjqUmm5qaQhWVSvu9YepEk3J1FApgnKCW/EWEzlerzxnJArsyOlgMsZQ==", - "path": "gdksharp/3.24.24.95", - "hashPath": "gdksharp.3.24.24.95.nupkg.sha512" - }, - "GioSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-avYEDFlYgbogb+Y7ZhIXQpyJfL83bnPpBKY642YEW9PQ+pRK3qf2k0opvd5oHccXfByj6kAQjmRUSIS0pj19Fg==", - "path": "giosharp/3.24.24.95", - "hashPath": "giosharp.3.24.24.95.nupkg.sha512" - }, - "GLibSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-1viZRMVjddf2HUCW7WDXT47rHssteHkAOimXQ2/pI8oGrPGNFuuw5MbX8BOIy73hCWVqo7JEMONv3z32OrCoCQ==", - "path": "glibsharp/3.24.24.95", - "hashPath": "glibsharp.3.24.24.95.nupkg.sha512" - }, - "GtkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-RRUY45hAa5gsMcadvVjcLUzMjVtmuHSYTcIwM6j8LNgKhzFFHk69qM1D5ULfGxaWmVjicqNWiFtOtk8WsvPqaQ==", - "path": "gtksharp/3.24.24.95", - "hashPath": "gtksharp.3.24.24.95.nupkg.sha512" - }, - "HtmlAgilityPack/1.11.71": { - "type": "package", - "serviceable": true, - "sha512": "sha512-HlEThQBnob4/29DIiyrPSYlGXXSZUtOH7571PRev+yu8FW8n5pdxqHyun+PMm17cp3ovCrxFhXedC+1HUSdRMA==", - "path": "htmlagilitypack/1.11.71", - "hashPath": "htmlagilitypack.1.11.71.nupkg.sha512" - }, - "PangoSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-H7JeyEvLsgvsbamGpRgoNtdvzPiGwwsUuoeTobN1C/JRjw1J8Snw0yf2WBr7CKx5GLwbrwpQYOb7N/HD17ME8A==", - "path": "pangosharp/3.24.24.95", - "hashPath": "pangosharp.3.24.24.95.nupkg.sha512" - } - } -} \ No newline at end of file diff --git a/bin/debug/net8.0/desk.dll b/bin/debug/net8.0/desk.dll deleted file mode 100644 index 458d16e..0000000 Binary files a/bin/debug/net8.0/desk.dll and /dev/null differ diff --git a/bin/debug/net8.0/desk.pdb b/bin/debug/net8.0/desk.pdb deleted file mode 100644 index 48a80bc..0000000 Binary files a/bin/debug/net8.0/desk.pdb and /dev/null differ diff --git a/bin/debug/net8.0/desk.runtimeconfig.json b/bin/debug/net8.0/desk.runtimeconfig.json deleted file mode 100644 index becfaea..0000000 --- a/bin/debug/net8.0/desk.runtimeconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net8.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "8.0.0" - }, - "configProperties": { - "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false - } - } -} \ No newline at end of file diff --git a/bin/release/net8.0/AtkSharp.dll b/bin/release/net8.0/AtkSharp.dll deleted file mode 100755 index 6fadf5c..0000000 Binary files a/bin/release/net8.0/AtkSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/CairoSharp.dll b/bin/release/net8.0/CairoSharp.dll deleted file mode 100755 index ad0efd2..0000000 Binary files a/bin/release/net8.0/CairoSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/GLibSharp.dll b/bin/release/net8.0/GLibSharp.dll deleted file mode 100755 index 0b5ac48..0000000 Binary files a/bin/release/net8.0/GLibSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/GdkSharp.dll b/bin/release/net8.0/GdkSharp.dll deleted file mode 100755 index 0371601..0000000 Binary files a/bin/release/net8.0/GdkSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/GioSharp.dll b/bin/release/net8.0/GioSharp.dll deleted file mode 100755 index 148f15e..0000000 Binary files a/bin/release/net8.0/GioSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/GtkSharp.dll b/bin/release/net8.0/GtkSharp.dll deleted file mode 100755 index 26ef061..0000000 Binary files a/bin/release/net8.0/GtkSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/PangoSharp.dll b/bin/release/net8.0/PangoSharp.dll deleted file mode 100755 index 2c96ace..0000000 Binary files a/bin/release/net8.0/PangoSharp.dll and /dev/null differ diff --git a/bin/release/net8.0/app.zip b/bin/release/net8.0/app.zip deleted file mode 100644 index 26352c2..0000000 Binary files a/bin/release/net8.0/app.zip and /dev/null differ diff --git a/bin/release/net8.0/desk b/bin/release/net8.0/desk deleted file mode 100755 index c137974..0000000 Binary files a/bin/release/net8.0/desk and /dev/null differ diff --git a/bin/release/net8.0/desk.deps.json b/bin/release/net8.0/desk.deps.json deleted file mode 100644 index d10e60b..0000000 --- a/bin/release/net8.0/desk.deps.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "runtimeTarget": { - "name": ".NETCoreApp,Version=v8.0", - "signature": "" - }, - "compilationOptions": {}, - "targets": { - ".NETCoreApp,Version=v8.0": { - "desk/1.0.0": { - "dependencies": { - "GtkSharp": "3.24.24.95" - }, - "runtime": { - "desk.dll": {} - } - }, - "AtkSharp/3.24.24.95": { - "dependencies": { - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/AtkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "CairoSharp/3.24.24.95": { - "runtime": { - "lib/net6.0/CairoSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GdkSharp/3.24.24.95": { - "dependencies": { - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95", - "GioSharp": "3.24.24.95", - "PangoSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GdkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GioSharp/3.24.24.95": { - "dependencies": { - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GioSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GLibSharp/3.24.24.95": { - "runtime": { - "lib/net6.0/GLibSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "GtkSharp/3.24.24.95": { - "dependencies": { - "AtkSharp": "3.24.24.95", - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95", - "GdkSharp": "3.24.24.95", - "GioSharp": "3.24.24.95", - "PangoSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/GtkSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - }, - "PangoSharp/3.24.24.95": { - "dependencies": { - "CairoSharp": "3.24.24.95", - "GLibSharp": "3.24.24.95" - }, - "runtime": { - "lib/net6.0/PangoSharp.dll": { - "assemblyVersion": "3.24.24.95", - "fileVersion": "3.24.24.95" - } - } - } - } - }, - "libraries": { - "desk/1.0.0": { - "type": "project", - "serviceable": false, - "sha512": "" - }, - "AtkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-LnSfsc0y11gfzczZj5bnpwcFkXFZuVTSSd92ML/FcHIM7FU+cAfm1UkAonv5BdwTRhzDbNDE39vihao/k75sUA==", - "path": "atksharp/3.24.24.95", - "hashPath": "atksharp.3.24.24.95.nupkg.sha512" - }, - "CairoSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-EZ9KT3pwVAol35XbZW0Uwdg2LqhDvPnWdhqIrsedhDx+Omnu56hLzxh8mZGqmQvEwJE8Opbda4w9CqDtXbX6Vw==", - "path": "cairosharp/3.24.24.95", - "hashPath": "cairosharp.3.24.24.95.nupkg.sha512" - }, - "GdkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-rABpIGkxr8lOdyhEmrKXzjih3z3932kjqUmm5qaQhWVSvu9YepEk3J1FApgnKCW/EWEzlerzxnJArsyOlgMsZQ==", - "path": "gdksharp/3.24.24.95", - "hashPath": "gdksharp.3.24.24.95.nupkg.sha512" - }, - "GioSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-avYEDFlYgbogb+Y7ZhIXQpyJfL83bnPpBKY642YEW9PQ+pRK3qf2k0opvd5oHccXfByj6kAQjmRUSIS0pj19Fg==", - "path": "giosharp/3.24.24.95", - "hashPath": "giosharp.3.24.24.95.nupkg.sha512" - }, - "GLibSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-1viZRMVjddf2HUCW7WDXT47rHssteHkAOimXQ2/pI8oGrPGNFuuw5MbX8BOIy73hCWVqo7JEMONv3z32OrCoCQ==", - "path": "glibsharp/3.24.24.95", - "hashPath": "glibsharp.3.24.24.95.nupkg.sha512" - }, - "GtkSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-RRUY45hAa5gsMcadvVjcLUzMjVtmuHSYTcIwM6j8LNgKhzFFHk69qM1D5ULfGxaWmVjicqNWiFtOtk8WsvPqaQ==", - "path": "gtksharp/3.24.24.95", - "hashPath": "gtksharp.3.24.24.95.nupkg.sha512" - }, - "PangoSharp/3.24.24.95": { - "type": "package", - "serviceable": true, - "sha512": "sha512-H7JeyEvLsgvsbamGpRgoNtdvzPiGwwsUuoeTobN1C/JRjw1J8Snw0yf2WBr7CKx5GLwbrwpQYOb7N/HD17ME8A==", - "path": "pangosharp/3.24.24.95", - "hashPath": "pangosharp.3.24.24.95.nupkg.sha512" - } - } -} \ No newline at end of file diff --git a/bin/release/net8.0/desk.dll b/bin/release/net8.0/desk.dll deleted file mode 100644 index 6fcf1a3..0000000 Binary files a/bin/release/net8.0/desk.dll and /dev/null differ diff --git a/bin/release/net8.0/desk.pdb b/bin/release/net8.0/desk.pdb deleted file mode 100644 index 4b08088..0000000 Binary files a/bin/release/net8.0/desk.pdb and /dev/null differ diff --git a/bin/release/net8.0/desk.runtimeconfig.json b/bin/release/net8.0/desk.runtimeconfig.json deleted file mode 100644 index d784515..0000000 --- a/bin/release/net8.0/desk.runtimeconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "runtimeOptions": { - "tfm": "net8.0", - "framework": { - "name": "Microsoft.NETCore.App", - "version": "8.0.0" - }, - "configProperties": { - "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, - "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false - } - } -} \ No newline at end of file diff --git a/desk.csproj b/drnetapi.csproj similarity index 100% rename from desk.csproj rename to drnetapi.csproj diff --git a/desk.sln b/drnetapi.sln similarity index 88% rename from desk.sln rename to drnetapi.sln index 5c59856..1a85e3d 100644 --- a/desk.sln +++ b/drnetapi.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.002.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "desk", "desk.csproj", "{29E90A7B-24FC-45B5-AD18-B9EC314B0DEA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "drnetapi", "drnetapi.csproj", "{29E90A7B-24FC-45B5-AD18-B9EC314B0DEA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/obj/Debug/net8.0/apphost b/obj/Debug/net8.0/apphost index c137974..1d6faf1 100755 Binary files a/obj/Debug/net8.0/apphost and b/obj/Debug/net8.0/apphost differ diff --git a/obj/Debug/net8.0/desk.AssemblyInfoInputs.cache b/obj/Debug/net8.0/desk.AssemblyInfoInputs.cache deleted file mode 100644 index 1bfa1b0..0000000 --- a/obj/Debug/net8.0/desk.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -515319900f266530d06329bca5a58edce8728b86f8fe9e720b7e6605190156d7 diff --git a/obj/Debug/net8.0/desk.csproj.CopyComplete b/obj/Debug/net8.0/desk.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/Debug/net8.0/desk.csproj.CoreCompileInputs.cache b/obj/Debug/net8.0/desk.csproj.CoreCompileInputs.cache deleted file mode 100644 index be9ac5f..0000000 --- a/obj/Debug/net8.0/desk.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -ef444eb11c77c3457489e38291def94d5141e352fbda31c3f713cc71bbd1fc33 diff --git a/obj/Debug/net8.0/desk.csproj.FileListAbsolute.txt b/obj/Debug/net8.0/desk.csproj.FileListAbsolute.txt deleted file mode 100644 index 3baf876..0000000 --- a/obj/Debug/net8.0/desk.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,24 +0,0 @@ -/home/retoor/projects/desk/obj/Debug/net8.0/desk.csproj.AssemblyReference.cache -/home/retoor/projects/desk/obj/Debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig -/home/retoor/projects/desk/obj/Debug/net8.0/desk.AssemblyInfoInputs.cache -/home/retoor/projects/desk/obj/Debug/net8.0/desk.AssemblyInfo.cs -/home/retoor/projects/desk/obj/Debug/net8.0/desk.csproj.CoreCompileInputs.cache -/home/retoor/projects/desk/bin/Debug/net8.0/desk -/home/retoor/projects/desk/bin/Debug/net8.0/desk.deps.json -/home/retoor/projects/desk/bin/Debug/net8.0/desk.runtimeconfig.json -/home/retoor/projects/desk/bin/Debug/net8.0/desk.dll -/home/retoor/projects/desk/bin/Debug/net8.0/desk.pdb -/home/retoor/projects/desk/bin/Debug/net8.0/AtkSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/CairoSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/GdkSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/GioSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/GLibSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/GtkSharp.dll -/home/retoor/projects/desk/bin/Debug/net8.0/PangoSharp.dll -/home/retoor/projects/desk/obj/Debug/net8.0/desk.csproj.CopyComplete -/home/retoor/projects/desk/obj/Debug/net8.0/desk.dll -/home/retoor/projects/desk/obj/Debug/net8.0/refint/desk.dll -/home/retoor/projects/desk/obj/Debug/net8.0/desk.pdb -/home/retoor/projects/desk/obj/Debug/net8.0/desk.genruntimeconfig.cache -/home/retoor/projects/desk/obj/Debug/net8.0/ref/desk.dll -/home/retoor/projects/desk/bin/Debug/net8.0/HtmlAgilityPack.dll diff --git a/obj/Debug/net8.0/desk.dll b/obj/Debug/net8.0/desk.dll deleted file mode 100644 index f9af19b..0000000 Binary files a/obj/Debug/net8.0/desk.dll and /dev/null differ diff --git a/obj/Debug/net8.0/desk.AssemblyInfo.cs b/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs similarity index 74% rename from obj/Debug/net8.0/desk.AssemblyInfo.cs rename to obj/Debug/net8.0/drnetapi.AssemblyInfo.cs index 1792aad..223aa52 100644 --- a/obj/Debug/net8.0/desk.AssemblyInfo.cs +++ b/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs @@ -10,12 +10,12 @@ using System; using System.Reflection; -[assembly: System.Reflection.AssemblyCompanyAttribute("desk")] +[assembly: System.Reflection.AssemblyCompanyAttribute("drnetapi")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d6ed15e1f66aef873014ddd745d3bde1c0a76212")] -[assembly: System.Reflection.AssemblyProductAttribute("desk")] -[assembly: System.Reflection.AssemblyTitleAttribute("desk")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3e85ef138f56eb1454fece36b3bc817dff8fd5d")] +[assembly: System.Reflection.AssemblyProductAttribute("drnetapi")] +[assembly: System.Reflection.AssemblyTitleAttribute("drnetapi")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] // Generated by the MSBuild WriteCodeFragment class. diff --git a/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache b/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache new file mode 100644 index 0000000..d209369 --- /dev/null +++ b/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +876e47ae0af1b1b3c50d0188ea190deb89c9c2cdeca7c22e26195c0d767b83cf diff --git a/obj/Debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig similarity index 92% rename from obj/Debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig rename to obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig index 3d5707b..79c42a2 100644 --- a/obj/Debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig +++ b/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig @@ -7,7 +7,7 @@ build_property.InvariantGlobalization = build_property.PlatformNeutralAssembly = build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = desk +build_property.RootNamespace = drnetapi build_property.ProjectDir = /home/retoor/projects/desk/ build_property.EnableComHosting = build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/Debug/net8.0/desk.GlobalUsings.g.cs b/obj/Debug/net8.0/drnetapi.GlobalUsings.g.cs similarity index 100% rename from obj/Debug/net8.0/desk.GlobalUsings.g.cs rename to obj/Debug/net8.0/drnetapi.GlobalUsings.g.cs diff --git a/obj/Debug/net8.0/desk.assets.cache b/obj/Debug/net8.0/drnetapi.assets.cache similarity index 97% rename from obj/Debug/net8.0/desk.assets.cache rename to obj/Debug/net8.0/drnetapi.assets.cache index 9977682..ed9b7bb 100644 Binary files a/obj/Debug/net8.0/desk.assets.cache and b/obj/Debug/net8.0/drnetapi.assets.cache differ diff --git a/obj/Debug/net8.0/desk.csproj.AssemblyReference.cache b/obj/Debug/net8.0/drnetapi.csproj.AssemblyReference.cache similarity index 100% rename from obj/Debug/net8.0/desk.csproj.AssemblyReference.cache rename to obj/Debug/net8.0/drnetapi.csproj.AssemblyReference.cache diff --git a/.history/DrApi_20241215174536.cs b/obj/Debug/net8.0/drnetapi.csproj.CopyComplete similarity index 100% rename from .history/DrApi_20241215174536.cs rename to obj/Debug/net8.0/drnetapi.csproj.CopyComplete diff --git a/obj/Debug/net8.0/drnetapi.csproj.CoreCompileInputs.cache b/obj/Debug/net8.0/drnetapi.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..3054838 --- /dev/null +++ b/obj/Debug/net8.0/drnetapi.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +5e3e99658f7cc8eb082cd7c6cd551b3ff500dd816707657a9c3f556f838b6d19 diff --git a/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt b/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..f817083 --- /dev/null +++ b/obj/Debug/net8.0/drnetapi.csproj.FileListAbsolute.txt @@ -0,0 +1,24 @@ +/home/retoor/projects/desk/bin/Debug/net8.0/drnetapi +/home/retoor/projects/desk/bin/Debug/net8.0/drnetapi.deps.json +/home/retoor/projects/desk/bin/Debug/net8.0/drnetapi.runtimeconfig.json +/home/retoor/projects/desk/bin/Debug/net8.0/drnetapi.dll +/home/retoor/projects/desk/bin/Debug/net8.0/drnetapi.pdb +/home/retoor/projects/desk/bin/Debug/net8.0/AtkSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/CairoSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/GdkSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/GioSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/GLibSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/GtkSharp.dll +/home/retoor/projects/desk/bin/Debug/net8.0/HtmlAgilityPack.dll +/home/retoor/projects/desk/bin/Debug/net8.0/PangoSharp.dll +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.csproj.AssemblyReference.cache +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.GeneratedMSBuildEditorConfig.editorconfig +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.AssemblyInfoInputs.cache +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.AssemblyInfo.cs +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.csproj.CoreCompileInputs.cache +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.csproj.CopyComplete +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.dll +/home/retoor/projects/desk/obj/Debug/net8.0/refint/drnetapi.dll +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.pdb +/home/retoor/projects/desk/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache +/home/retoor/projects/desk/obj/Debug/net8.0/ref/drnetapi.dll diff --git a/obj/Debug/net8.0/drnetapi.dll b/obj/Debug/net8.0/drnetapi.dll new file mode 100644 index 0000000..21bb214 Binary files /dev/null and b/obj/Debug/net8.0/drnetapi.dll differ diff --git a/obj/Debug/net8.0/desk.genruntimeconfig.cache b/obj/Debug/net8.0/drnetapi.genruntimeconfig.cache similarity index 100% rename from obj/Debug/net8.0/desk.genruntimeconfig.cache rename to obj/Debug/net8.0/drnetapi.genruntimeconfig.cache diff --git a/obj/Debug/net8.0/desk.pdb b/obj/Debug/net8.0/drnetapi.pdb similarity index 88% rename from obj/Debug/net8.0/desk.pdb rename to obj/Debug/net8.0/drnetapi.pdb index 6f323c1..0fa3e4b 100644 Binary files a/obj/Debug/net8.0/desk.pdb and b/obj/Debug/net8.0/drnetapi.pdb differ diff --git a/obj/Debug/net8.0/ref/desk.dll b/obj/Debug/net8.0/ref/desk.dll deleted file mode 100644 index 8104ec3..0000000 Binary files a/obj/Debug/net8.0/ref/desk.dll and /dev/null differ diff --git a/obj/Debug/net8.0/ref/drnetapi.dll b/obj/Debug/net8.0/ref/drnetapi.dll new file mode 100644 index 0000000..f8d910b Binary files /dev/null and b/obj/Debug/net8.0/ref/drnetapi.dll differ diff --git a/obj/Debug/net8.0/refint/desk.dll b/obj/Debug/net8.0/refint/desk.dll deleted file mode 100644 index 8104ec3..0000000 Binary files a/obj/Debug/net8.0/refint/desk.dll and /dev/null differ diff --git a/obj/Debug/net8.0/refint/drnetapi.dll b/obj/Debug/net8.0/refint/drnetapi.dll new file mode 100644 index 0000000..f8d910b Binary files /dev/null and b/obj/Debug/net8.0/refint/drnetapi.dll differ diff --git a/obj/debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs deleted file mode 100644 index 2217181..0000000 --- a/obj/debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/debug/net8.0/apphost b/obj/debug/net8.0/apphost deleted file mode 100755 index c137974..0000000 Binary files a/obj/debug/net8.0/apphost and /dev/null differ diff --git a/obj/debug/net8.0/desk.AssemblyInfo.cs b/obj/debug/net8.0/desk.AssemblyInfo.cs deleted file mode 100644 index 167d784..0000000 --- a/obj/debug/net8.0/desk.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("desk")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("desk")] -[assembly: System.Reflection.AssemblyTitleAttribute("desk")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/debug/net8.0/desk.AssemblyInfoInputs.cache b/obj/debug/net8.0/desk.AssemblyInfoInputs.cache deleted file mode 100644 index 977e437..0000000 --- a/obj/debug/net8.0/desk.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -c84d262491869376f7a9c299dbf8132ddab87b138684195bd830594eb107260e diff --git a/obj/debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig b/obj/debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 3d5707b..0000000 --- a/obj/debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -is_global = true -build_property.TargetFramework = net8.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = desk -build_property.ProjectDir = /home/retoor/projects/desk/ -build_property.EnableComHosting = -build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/debug/net8.0/desk.GlobalUsings.g.cs b/obj/debug/net8.0/desk.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/obj/debug/net8.0/desk.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/obj/debug/net8.0/desk.assets.cache b/obj/debug/net8.0/desk.assets.cache deleted file mode 100644 index 20fd56b..0000000 Binary files a/obj/debug/net8.0/desk.assets.cache and /dev/null differ diff --git a/obj/debug/net8.0/desk.csproj.AssemblyReference.cache b/obj/debug/net8.0/desk.csproj.AssemblyReference.cache deleted file mode 100644 index f9eb423..0000000 Binary files a/obj/debug/net8.0/desk.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/debug/net8.0/desk.csproj.CopyComplete b/obj/debug/net8.0/desk.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/debug/net8.0/desk.csproj.CoreCompileInputs.cache b/obj/debug/net8.0/desk.csproj.CoreCompileInputs.cache deleted file mode 100644 index 280a1c9..0000000 --- a/obj/debug/net8.0/desk.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -cc2a9ccb0da1bb481502691dc21a2a86fb32d520a27ff884d90a18c73a37407c diff --git a/obj/debug/net8.0/desk.csproj.FileListAbsolute.txt b/obj/debug/net8.0/desk.csproj.FileListAbsolute.txt deleted file mode 100644 index c66aeb4..0000000 --- a/obj/debug/net8.0/desk.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,24 +0,0 @@ -/home/retoor/projects/desk/bin/debug/net8.0/desk -/home/retoor/projects/desk/bin/debug/net8.0/desk.deps.json -/home/retoor/projects/desk/bin/debug/net8.0/desk.runtimeconfig.json -/home/retoor/projects/desk/bin/debug/net8.0/desk.dll -/home/retoor/projects/desk/bin/debug/net8.0/desk.pdb -/home/retoor/projects/desk/bin/debug/net8.0/AtkSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/CairoSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/GdkSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/GioSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/GLibSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/GtkSharp.dll -/home/retoor/projects/desk/bin/debug/net8.0/HtmlAgilityPack.dll -/home/retoor/projects/desk/bin/debug/net8.0/PangoSharp.dll -/home/retoor/projects/desk/obj/debug/net8.0/desk.csproj.AssemblyReference.cache -/home/retoor/projects/desk/obj/debug/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig -/home/retoor/projects/desk/obj/debug/net8.0/desk.AssemblyInfoInputs.cache -/home/retoor/projects/desk/obj/debug/net8.0/desk.AssemblyInfo.cs -/home/retoor/projects/desk/obj/debug/net8.0/desk.csproj.CoreCompileInputs.cache -/home/retoor/projects/desk/obj/debug/net8.0/desk.csproj.CopyComplete -/home/retoor/projects/desk/obj/debug/net8.0/desk.dll -/home/retoor/projects/desk/obj/debug/net8.0/refint/desk.dll -/home/retoor/projects/desk/obj/debug/net8.0/desk.pdb -/home/retoor/projects/desk/obj/debug/net8.0/desk.genruntimeconfig.cache -/home/retoor/projects/desk/obj/debug/net8.0/ref/desk.dll diff --git a/obj/debug/net8.0/desk.dll b/obj/debug/net8.0/desk.dll deleted file mode 100644 index 458d16e..0000000 Binary files a/obj/debug/net8.0/desk.dll and /dev/null differ diff --git a/obj/debug/net8.0/desk.genruntimeconfig.cache b/obj/debug/net8.0/desk.genruntimeconfig.cache deleted file mode 100644 index e22da28..0000000 --- a/obj/debug/net8.0/desk.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -81a9dd837751fb2a9ee94daadacfdaed7f0ae7769c2b3b424eba1e7c23c95c6f diff --git a/obj/debug/net8.0/desk.pdb b/obj/debug/net8.0/desk.pdb deleted file mode 100644 index 48a80bc..0000000 Binary files a/obj/debug/net8.0/desk.pdb and /dev/null differ diff --git a/obj/debug/net8.0/ref/desk.dll b/obj/debug/net8.0/ref/desk.dll deleted file mode 100644 index a583dfe..0000000 Binary files a/obj/debug/net8.0/ref/desk.dll and /dev/null differ diff --git a/obj/debug/net8.0/refint/desk.dll b/obj/debug/net8.0/refint/desk.dll deleted file mode 100644 index a583dfe..0000000 Binary files a/obj/debug/net8.0/refint/desk.dll and /dev/null differ diff --git a/obj/desk.csproj.nuget.dgspec.json b/obj/drnetapi.csproj.nuget.dgspec.json similarity index 85% rename from obj/desk.csproj.nuget.dgspec.json rename to obj/drnetapi.csproj.nuget.dgspec.json index 5b05694..89d3227 100644 --- a/obj/desk.csproj.nuget.dgspec.json +++ b/obj/drnetapi.csproj.nuget.dgspec.json @@ -1,15 +1,15 @@ { "format": 1, "restore": { - "/home/retoor/projects/desk/desk.csproj": {} + "/home/retoor/projects/desk/drnetapi.csproj": {} }, "projects": { - "/home/retoor/projects/desk/desk.csproj": { + "/home/retoor/projects/desk/drnetapi.csproj": { "version": "1.0.0", "restore": { - "projectUniqueName": "/home/retoor/projects/desk/desk.csproj", - "projectName": "desk", - "projectPath": "/home/retoor/projects/desk/desk.csproj", + "projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj", + "projectName": "drnetapi", + "projectPath": "/home/retoor/projects/desk/drnetapi.csproj", "packagesPath": "/home/retoor/.nuget/packages/", "outputPath": "/home/retoor/projects/desk/obj/", "projectStyle": "PackageReference", diff --git a/obj/desk.csproj.nuget.g.props b/obj/drnetapi.csproj.nuget.g.props similarity index 100% rename from obj/desk.csproj.nuget.g.props rename to obj/drnetapi.csproj.nuget.g.props diff --git a/obj/desk.csproj.nuget.g.targets b/obj/drnetapi.csproj.nuget.g.targets similarity index 100% rename from obj/desk.csproj.nuget.g.targets rename to obj/drnetapi.csproj.nuget.g.targets diff --git a/obj/project.assets.json b/obj/project.assets.json index 4b38535..d7c5dbb 100644 --- a/obj/project.assets.json +++ b/obj/project.assets.json @@ -262,9 +262,9 @@ "project": { "version": "1.0.0", "restore": { - "projectUniqueName": "/home/retoor/projects/desk/desk.csproj", - "projectName": "desk", - "projectPath": "/home/retoor/projects/desk/desk.csproj", + "projectUniqueName": "/home/retoor/projects/desk/drnetapi.csproj", + "projectName": "drnetapi", + "projectPath": "/home/retoor/projects/desk/drnetapi.csproj", "packagesPath": "/home/retoor/.nuget/packages/", "outputPath": "/home/retoor/projects/desk/obj/", "projectStyle": "PackageReference", diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache index 81a2524..fe01795 100644 --- a/obj/project.nuget.cache +++ b/obj/project.nuget.cache @@ -1,8 +1,8 @@ { "version": 2, - "dgSpecHash": "MV3MR7/UyQhm11UW5VbUAMKTiXj1RjoJoLKmJFPg7VAf4nJIcW7hYDY3/CoteEPgWN8D0Ai3U7dybrLZzicU9A==", + "dgSpecHash": "/OZxepw2BFfahk75r6cBBCnANwLp6WQjEj8K/IU3d7PD+AH4flpRGC4msQXqbWl+rMjIdBDQ2ec6q3THszZlbg==", "success": true, - "projectFilePath": "/home/retoor/projects/desk/desk.csproj", + "projectFilePath": "/home/retoor/projects/desk/drnetapi.csproj", "expectedPackageFiles": [ "/home/retoor/.nuget/packages/atksharp/3.24.24.95/atksharp.3.24.24.95.nupkg.sha512", "/home/retoor/.nuget/packages/cairosharp/3.24.24.95/cairosharp.3.24.24.95.nupkg.sha512", diff --git a/obj/release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/obj/release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs deleted file mode 100644 index 2217181..0000000 --- a/obj/release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/obj/release/net8.0/apphost b/obj/release/net8.0/apphost deleted file mode 100755 index c137974..0000000 Binary files a/obj/release/net8.0/apphost and /dev/null differ diff --git a/obj/release/net8.0/desk.AssemblyInfo.cs b/obj/release/net8.0/desk.AssemblyInfo.cs deleted file mode 100644 index 00b777c..0000000 --- a/obj/release/net8.0/desk.AssemblyInfo.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("desk")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("release")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("desk")] -[assembly: System.Reflection.AssemblyTitleAttribute("desk")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/obj/release/net8.0/desk.AssemblyInfoInputs.cache b/obj/release/net8.0/desk.AssemblyInfoInputs.cache deleted file mode 100644 index 35e8ea8..0000000 --- a/obj/release/net8.0/desk.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -bea4eba8bd06fd7897980fa159d607b1a3ef22d4973f09232470114abd781555 diff --git a/obj/release/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig b/obj/release/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 3d5707b..0000000 --- a/obj/release/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -is_global = true -build_property.TargetFramework = net8.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = desk -build_property.ProjectDir = /home/retoor/projects/desk/ -build_property.EnableComHosting = -build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/obj/release/net8.0/desk.GlobalUsings.g.cs b/obj/release/net8.0/desk.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/obj/release/net8.0/desk.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/obj/release/net8.0/desk.assets.cache b/obj/release/net8.0/desk.assets.cache deleted file mode 100644 index bc1dc2f..0000000 Binary files a/obj/release/net8.0/desk.assets.cache and /dev/null differ diff --git a/obj/release/net8.0/desk.csproj.AssemblyReference.cache b/obj/release/net8.0/desk.csproj.AssemblyReference.cache deleted file mode 100644 index cb1a2c2..0000000 Binary files a/obj/release/net8.0/desk.csproj.AssemblyReference.cache and /dev/null differ diff --git a/obj/release/net8.0/desk.csproj.CopyComplete b/obj/release/net8.0/desk.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/obj/release/net8.0/desk.csproj.CoreCompileInputs.cache b/obj/release/net8.0/desk.csproj.CoreCompileInputs.cache deleted file mode 100644 index 0a1e33f..0000000 --- a/obj/release/net8.0/desk.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -561daeb40c498e1a4438291647e57992b00500ffa29b51d5aa51d2871da498ea diff --git a/obj/release/net8.0/desk.csproj.FileListAbsolute.txt b/obj/release/net8.0/desk.csproj.FileListAbsolute.txt deleted file mode 100644 index 219c89d..0000000 --- a/obj/release/net8.0/desk.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,23 +0,0 @@ -/home/retoor/projects/desk/bin/release/net8.0/desk -/home/retoor/projects/desk/bin/release/net8.0/desk.deps.json -/home/retoor/projects/desk/bin/release/net8.0/desk.runtimeconfig.json -/home/retoor/projects/desk/bin/release/net8.0/desk.dll -/home/retoor/projects/desk/bin/release/net8.0/desk.pdb -/home/retoor/projects/desk/bin/release/net8.0/AtkSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/CairoSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/GdkSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/GioSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/GLibSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/GtkSharp.dll -/home/retoor/projects/desk/bin/release/net8.0/PangoSharp.dll -/home/retoor/projects/desk/obj/release/net8.0/desk.csproj.AssemblyReference.cache -/home/retoor/projects/desk/obj/release/net8.0/desk.GeneratedMSBuildEditorConfig.editorconfig -/home/retoor/projects/desk/obj/release/net8.0/desk.AssemblyInfoInputs.cache -/home/retoor/projects/desk/obj/release/net8.0/desk.AssemblyInfo.cs -/home/retoor/projects/desk/obj/release/net8.0/desk.csproj.CoreCompileInputs.cache -/home/retoor/projects/desk/obj/release/net8.0/desk.csproj.CopyComplete -/home/retoor/projects/desk/obj/release/net8.0/desk.dll -/home/retoor/projects/desk/obj/release/net8.0/refint/desk.dll -/home/retoor/projects/desk/obj/release/net8.0/desk.pdb -/home/retoor/projects/desk/obj/release/net8.0/desk.genruntimeconfig.cache -/home/retoor/projects/desk/obj/release/net8.0/ref/desk.dll diff --git a/obj/release/net8.0/desk.dll b/obj/release/net8.0/desk.dll deleted file mode 100644 index 6fcf1a3..0000000 Binary files a/obj/release/net8.0/desk.dll and /dev/null differ diff --git a/obj/release/net8.0/desk.genruntimeconfig.cache b/obj/release/net8.0/desk.genruntimeconfig.cache deleted file mode 100644 index 41ca2bb..0000000 --- a/obj/release/net8.0/desk.genruntimeconfig.cache +++ /dev/null @@ -1 +0,0 @@ -674dcf039e69781439178d85715b1c0946ca3a6f7e1db4479a1b9c9cf5a4a742 diff --git a/obj/release/net8.0/desk.pdb b/obj/release/net8.0/desk.pdb deleted file mode 100644 index 4b08088..0000000 Binary files a/obj/release/net8.0/desk.pdb and /dev/null differ diff --git a/obj/release/net8.0/ref/desk.dll b/obj/release/net8.0/ref/desk.dll deleted file mode 100644 index 33fd6ad..0000000 Binary files a/obj/release/net8.0/ref/desk.dll and /dev/null differ diff --git a/obj/release/net8.0/refint/desk.dll b/obj/release/net8.0/refint/desk.dll deleted file mode 100644 index 33fd6ad..0000000 Binary files a/obj/release/net8.0/refint/desk.dll and /dev/null differ