1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40:
| class Zeile { #region variablen public string protokoll; public string status; public IPEndPoint localEndPoint; public IPEndPoint remoteEndPoint; public string countryCode; public string countrFullName; public string ip; public string oldStatus; public int runde;
public string date;
char[] chars = new char[] { 'Q', 'W', 'E', 'R', 'T', 'Z', 'U', 'I', 'O', 'P', 'Ü', 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'Ö', 'Y', 'X', 'C', 'V', 'B', 'N', 'M' };
#endregion
#region Constractor(s) public Zeile(string protocol, string statu, IPEndPoint local, IPEndPoint remote) { this.protokoll = protocol; this.localEndPoint = local; this.remoteEndPoint = remote; this.status = statu; if (statu.Contains("™")) { this.status = statu.Replace("™", "Ö"); } } public Zeile(IPAddress ip, string location, string date) { this.date = date; this.ip = ip.ToString(); this.countryCode = location; } #endregion } |