コード例 #1
0
 /// <summary>
 /// Gets the line containing the specified searchValue from the packets.
 /// If multiple values are matching the search string, '|' separated values will be returned.
 /// </summary>
 /// <param name="packetsPath">The pcap file location.</param>
 /// <param name="filter">The filter to be applied for the packets capture.</param>
 /// <remarks>If the filter is invalid, no contents will be read.</remarks>
 /// <param name="searchValue">The values to be searched in the captured packets.</param>
 /// <returns>The string contains the specified information.</returns>
 public string GetPacketData(string packetsPath, string filter, string searchValue)
 {
     return(_networkPackets.GetPacketData(packetsPath, filter, searchValue));
 }