Merge branch 'master' of http://www.scserverddns.top:13000/sc/ForwardingServerUI
This commit is contained in:
commit
776a42f510
2 files changed
+92
-1
No files matched your search
+13
-1
@@ -10,6 +10,7 @@ using System.Windows.Markup;
|
||||
using System.Xml.Linq;
|
||||
using TouchSocket.Core;
|
||||
using TouchSocket.Sockets;
|
||||
using static ForwardingServerUI.MainWindowViewModel;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace ForwardingServerUI.Class
|
||||
@@ -25,6 +26,14 @@ namespace ForwardingServerUI.Class
|
||||
public required string SERRVERPASWORD { get; set; }
|
||||
public required string MachineVer { get; set; }
|
||||
}
|
||||
public class PersonUser
|
||||
{
|
||||
public required string User { get; set; }
|
||||
public required string Password { get; set; }
|
||||
public required string IP { get; set; }
|
||||
public required string Terminal { get; set; }
|
||||
public required string Dat { get; set; }
|
||||
}
|
||||
|
||||
private static Timer? _timer;
|
||||
public static TcpService service = new TcpService();
|
||||
@@ -80,9 +89,12 @@ namespace ForwardingServerUI.Class
|
||||
drEmployee["RDAT"] = trimmedDat;
|
||||
drEmployee.EndEdit();
|
||||
drEmployee.AcceptChanges();
|
||||
|
||||
PersonUser deserializedPersonuser = JsonSerializer.Deserialize<PersonUser>(trimmedDat)!;
|
||||
var data = JsonSerializer.Deserialize<Dictionary<string, object>>
|
||||
(AES.AesDecrypt(deserializedPersonuser.Terminal, deserializedPersonuser.Dat));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else if (s_ == 90)
|
||||
{ }
|
||||
|
||||
Reference in new issue
Block a user