Hi,

I wish to create a progress bar for my program to compute hashes like SHA1.

Currently if I were to generate the hash from a large file, the application will look as if it is hang particularly when user click inside the form.

I am not sure whether progressbar is a good solution that can help to solve this issue, or at least let user know know the current progress so that they will wait for the computation to complete.

I came across a few methods for coding progress bar which mostly is based on manual coding/calculation. I wonder is there an automatic way which will generate the progress bar based on the class/function that I use e.g. SHA1CryptoServiceProvider

Please advise.

Thanks