public ConnectionData(TCPConnection connection) { Name = String.Format("{0}:{1} {2}", connection.GetType().Name, connection.LocalPort, DateTime.Now.ToString("dd/MM HH:mm:ss:")); Packets = new List <PacketData>(); }