summaryrefslogtreecommitdiff
path: root/Download.cs
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-03-22 12:28:07 +0000
committerIan C <ianc@noddybox.co.uk>2024-03-22 12:28:07 +0000
commit3f05ee34d209fcb994cba50955cd2e301315d9bd (patch)
tree5cd375c2e8ecc444786286af4d1afcbcaf95227e /Download.cs
parentd71f080ad276653399c92810c9122bf537e551fe (diff)
Initial working version.
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;
+ }
+}