|
@@ -1749,7 +1749,7 @@ end:
|
|
|
public static bool UserLogin(string url, string account, string password, string pcmac, SQLiteConnection sqliteConn, out LoginOutput loginOutput1)
|
|
|
{
|
|
|
loginOutput1 = new LoginOutput();
|
|
|
- LoginInput LoginInput1 = new LoginInput { account = account, password = password, mac = pcmac };
|
|
|
+ LoginInput LoginInput1 = new LoginInput { account = account, password = password, mac = pcmac, toolVersion = Utils.FileUtils.GetAssemblyVersion() };
|
|
|
string jsonorder = Newtonsoft.Json.JsonConvert.SerializeObject(LoginInput1, Newtonsoft.Json.Formatting.Indented);
|
|
|
|
|
|
HttpHelper http = new HttpHelper();
|