From 3f05ee34d209fcb994cba50955cd2e301315d9bd Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 22 Mar 2024 12:28:07 +0000 Subject: Initial working version. --- Download.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Download.cs (limited to 'Download.cs') 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; + } +} -- cgit v1.2.3