Exemplo n.º 1
0
        public void OnTcpStream(object sender, TcpStream stream, bool isNew, ConcurrentQueue<object> queue)
        {
            if (stream == null) return;

            stream.DumpToFile(
                DumpFolder.FullName + Path.DirectorySeparatorChar +
                stream.Source.ToString().Replace(":", ",") + " - " +
                stream.Destination.ToString().Replace(":", ",") + ".dump");
        }
Exemplo n.º 2
0
        void s_OnTcpStream(TcpStream stream)
        {
            if (stream == null)
            {
                return;
            }

            stream.DumpToFile(DumpFolder.FullName + System.IO.Path.DirectorySeparatorChar +
                              stream.Source.ToString().Replace(":", ",") + " - " +
                              stream.Destination.ToString().Replace(":", ",") + ".dump");
        }
Exemplo n.º 3
0
        void s_OnTcpStream(TcpStream stream)
        {
            if (stream == null) return;

            stream.DumpToFile(DumpFolder.FullName + System.IO.Path.DirectorySeparatorChar +
                stream.Source.ToString().Replace(":", ",") + " - " +
                stream.Destination.ToString().Replace(":", ",") + ".dump");
        }