I am making an Image Steganography project for my college. I have finished the project and have kept several different algorithms for hiding data in images.
What I want
You can use StopWatch class:
var timer = System.Diagnostics.StopWatch.StartNew(); hideDataUsingAlgorithm(); timer.Stop(); var elapsed = timer.ElapsedMilliseconds;