Stopwatch watch = new Stopwatch(); watch.Start(); // Process do watch.Stop(); Text = watch.Elapsed.TotalSeconds.ToString();