mirror of
https://github.com/quasar/Quasar.git
synced 2026-10-17 04:42:13 +08:00
22 lines
523 B
C#
22 lines
523 B
C#
using System.Net;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Quasar.Client
|
|
{
|
|
internal static class Program
|
|
{
|
|
private static void Main(string[] args)
|
|
{
|
|
// enable TLS 1.2
|
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
|
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
using (var app = new QuasarApplication())
|
|
{
|
|
app.Run();
|
|
}
|
|
}
|
|
}
|
|
}
|