This commit is contained in:
2022-07-18 21:41:24 +00:00
parent 02be1a0a55
commit d7cc89cab4
2 changed files with 11 additions and 0 deletions

View File

@@ -12,6 +12,14 @@ namespace AyaNovaQBI
private void auth_Load(object sender, EventArgs e)
{
//case 3875
var version = Environment.OSVersion.Version;
if (version < new Version(10, 0))//anything less than windows 10
{
System.Net.ServicePointManager.SecurityProtocol = (System.Net.SecurityProtocolType)3072;
}
edServerUrl.Text = Properties.Settings.Default.serverurl;
#if (DEBUG)
edUserName.Text = "Accounting";