Beispiel #1
0
        private void setupControlsDumpCap(string sPath)
        {
            txtWireSharkFolder.Text = sPath;
            DumpCap.WireSharkPath   = sPath;

            bool bExists = DumpCap.DumpCapExists();

            groupDumpCap.Enabled = bExists;
            if (bExists)
            {
                groupDumpCap.Text = "DumpCap [FOUND]";
            }
            else
            {
                groupDumpCap.Text = "DumpCap [NOT FOUND]";
            }

            // default always off
            chkDumpCapEnabled.Checked = false;
            DumpCap.Enabled           = false;

            udInterface.Value                         = DumpCap.Interface;
            chkKillOnNegativeOnly.Checked             = DumpCap.KillOnNegativeSeqOnly;
            chkClearRingBufferFolderOnRestart.Checked = DumpCap.ClearFolderOnRestart;
        }
Beispiel #2
0
 private void btnShowDumpCapFolder_Click(object sender, EventArgs e)
 {
     DumpCap.ShowAppPathFolder();
 }