// // ConnectionData.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Net; namespace NosSmooth.Pcap; /// /// Data from a tcp connection containing first few sniffed packets. /// /// The packets source address. /// The packets source port. /// The packets destination address. /// The packets destination port. /// The sniffed data. /// The time first data were observed at. public record ConnectionData ( IPAddress SourceAddress, int SourcePort, IPAddress DestinationAddress, int DestinationPort, List SniffedData, DateTimeOffset FirstObservedAt ) { /// /// Gets or sets the date time offset at which last data were sniffed. /// public DateTimeOffset LastReceivedAt { get; set; } }