private void bgWSniffer_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
dumpFile = e.UserState as DumpFile;
lblNumberOfPacketsTabSniffer2.Text = dumpFile._packetsCount.ToString("#,##0");
lblTrafficRateTabSniffer2.Text = (dumpFile._bitsPerSecond *
}
in this function i’am sample my class but because of the high speed my GUI get stuck, if i want to sample my class every 500 milliseconds for example that is the best way to do it ?
You might want to have a look at
BackgroundWorker Class