public PacketCaptureThread(ICaptureDevice captureDevice, ToolUI toolUI)
        {
            //Store passed objects
            this.captureDevice = captureDevice;
            this.toolUI = toolUI;

            //Start the thread
            packetCaptureThread = new Thread(PacketCaptureThreadStart);
            #if DEBUG
            packetCaptureThread.Name = "Packet Capture Thread";
            #endif
            packetCaptureThread.Start();
        }
        public PacketCaptureThread(ICaptureDevice captureDevice, ToolUI toolUI)
        {
            //Store passed objects
            this.captureDevice = captureDevice;
            this.toolUI        = toolUI;

            //Start the thread
            packetCaptureThread = new Thread(PacketCaptureThreadStart);
#if DEBUG
            packetCaptureThread.Name = "Packet Capture Thread";
#endif
            packetCaptureThread.Start();
        }