How many times program has run? C#
How can I get the number of times a program has previously run in C# without keeping a file and tallying. If it is not possible that way, can it be gotten from the Scheduled Task Manager? To C. Ross: how would this be done in a registry setting? forgive me. . . what is a registry setting? To the best of my knowledge Windows does not keep this information for you. You would have to tally the value somewhere (file, database, registry setting). The Windows Task Scheduler is very low functionality. I do this in a registry setting. static string AppRegyPath = "Software\\Cheeso\\ApplicationName";