summaryrefslogtreecommitdiff
path: root/Download.cs
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2024-03-27 18:58:09 +0000
committerIan C <ianc@noddybox.co.uk>2024-03-27 18:58:09 +0000
commit57acc97e1f9d76c2edbb4eeabae4ea3dd635bb77 (patch)
tree8298ce7c00cc59a87269ba58dcc4ecaa51215470 /Download.cs
parentfe5c628725260d0bee594108afe0eec1e802e8b2 (diff)
Updated for new download table format.1.0
Diffstat (limited to 'Download.cs')
-rw-r--r--Download.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Download.cs b/Download.cs
index ff0f3ce..eda8967 100644
--- a/Download.cs
+++ b/Download.cs
@@ -19,15 +19,13 @@ 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 string[] Info {get; private set;}
public DateTime Time {get; private set;}
- public Download(string key, string ip_address, string user_agent, DateTime time)
+ public Download(string key, string[] info, DateTime time)
{
Key = key;
- IpAddress = ip_address;
- UserAgent = user_agent;
+ Info = info;
Time = time;
}
}