C# Class fCraft.IPBanInfo

IP ban record.
Show file Open project: GlennMR/800craft Class Usage Examples

Public Properties

Property Type Description
Attempts int
BanDate System.DateTime
LastAttemptDate System.DateTime

Private Properties

Property Type Description
IPBanInfo System
IPBanInfo System
LoadFormat0 IPBanInfo
LoadFormat1 IPBanInfo
LoadFormat2 IPBanInfo
ProcessAttempt void
Serialize string

Private Methods

Method Description
IPBanInfo ( ) : System
IPBanInfo ( [ address, [ playerName, [ bannedBy, [ banReason ) : System
LoadFormat0 ( [ fields, bool convertDatesToUtc ) : IPBanInfo
LoadFormat1 ( [ fields ) : IPBanInfo
LoadFormat2 ( [ fields ) : IPBanInfo
ProcessAttempt ( [ player ) : void
Serialize ( ) : string

Property Details

Attempts public property

Login attempts from this IP.
public int Attempts
return int

BanDate public property

Date/time (UTC) when the ban was issued.
public DateTime,System BanDate
return System.DateTime

LastAttemptDate public property

Date/time (UTC) of the most recent login attempt.
public DateTime,System LastAttemptDate
return System.DateTime