Initial commit.

This commit is contained in:
2026-03-13 10:23:47 +01:00
parent fd81c63020
commit 39c8b861c0
44 changed files with 1144 additions and 4 deletions

15
Shared/Tools.cs Normal file
View File

@@ -0,0 +1,15 @@
using System.Net.Http;
namespace ClientApiPoC.Shared {
public static class Tools {
public static HttpClient CreateHttpClient() {
var httpClientHandler = new HttpClientHandler() {
ServerCertificateCustomValidationCallback = (message, cert, chain, sslPolicyErrors) => {
// HACK: Allen SSL-Zertifikaten vertrauen!
return true;
}
};
return new HttpClient(httpClientHandler);
}
}
}