aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'DistributedPasswordCracker.Server/Models')
-rw-r--r--DistributedPasswordCracker.Server/Models/ClientConnection.cs37
-rw-r--r--DistributedPasswordCracker.Server/Models/UserInfo.cs38
2 files changed, 75 insertions, 0 deletions
diff --git a/DistributedPasswordCracker.Server/Models/ClientConnection.cs b/DistributedPasswordCracker.Server/Models/ClientConnection.cs
new file mode 100644
index 0000000..4dab2b1
--- /dev/null
+++ b/DistributedPasswordCracker.Server/Models/ClientConnection.cs
@@ -0,0 +1,37 @@
+using System.IO;
+using System.Net.Sockets;
+using System.Threading.Tasks;
+
+namespace DistributedPasswordCracker.Server.Models
+{
+ class ClientConnection
+ {
+ public TcpClient ConnectionSocket { get; set; }
+ public string Chunk { get; set; }