Got at least one data fetching method working; turns out, we can't use a patched LogicStack to get the data
This commit is contained in:
25
Vendor/EmbedIO-3.5.2/Security/BanInfo.cs
vendored
Normal file
25
Vendor/EmbedIO-3.5.2/Security/BanInfo.cs
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Net;
|
||||
|
||||
namespace EmbedIO.Security
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains information about the ban of an IP address.
|
||||
/// </summary>
|
||||
public class BanInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the banned IP address.
|
||||
/// </summary>
|
||||
public IPAddress IPAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the expiration time of the ban.
|
||||
/// </summary>
|
||||
public long ExpiresAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance was explicitly banned.
|
||||
/// </summary>
|
||||
public bool IsExplicit { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user