Merge pull request #139 from HandyOrg/pr/137

Pr/137
This commit is contained in:
NaBian authored and GitHub committed 2019-07-25 23:18:11 +08:00
commit b6963d2770
5 files changed
+7 -9

No files matched your search

@@ -26,9 +26,8 @@ namespace HandyControlDemo
UpdateSkin(GlobalData.Config.Skin);
}
#if !Core
ConfigHelper.Instance.SetSystemVersionInfo(CommonHelper.GetSystemVersionInfo());
#endif
ServicePointManager.SecurityProtocol = (SecurityProtocolType)(SslProtocols)0x00000C00;
}
@@ -1,5 +1,4 @@
#if !Core
using System.Linq;
using System.Linq;
using System.Management;
using HandyControl.Data;
@@ -20,8 +19,7 @@ namespace HandyControlDemo.Tools
return info;
}
}
return default(SystemVersionInfo);
return default;
}
}
}
#endif
}