summaryrefslogtreecommitdiff
path: root/Download.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Download.cs')
-rw-r--r--Download.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Download.cs b/Download.cs
new file mode 100644
index 0000000..6e043cb
--- /dev/null
+++ b/Download.cs
@@ -0,0 +1,17 @@
+namespace download_admin;
+
+public class Download
+{
+ public string Key {get; private set;}
+ public string IpAddress {get; private set;}
+ public string UserAgent {get; private set;}
+ public DateTime Time {get; private set;}
+
+ public Download(string key, string ip_address, string user_agent, DateTime time)
+ {
+ Key = key;
+ IpAddress = ip_address;
+ UserAgent = user_agent;
+ Time = time;
+ }
+}