0

I'm trying to write a program which checks when a program was lasted used. I've tried different methods like checking the last modified date of the .exe as well as the registry, but non of these really work. Do you guys have anther idea which I could try to get the date?

Thank you for your help!

  • where is your codes? – Freeman Jul 13 '23 at 11:02
  • you could read windows event log and analyse the timestamps: https://stackoverflow.com/questions/11219213/read-specific-windows-event-log-event – Marco F. Jul 13 '23 at 11:05
  • Please trim your code to make it easier to find your problem. Follow these guidelines to create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example). – Community Jul 13 '23 at 11:20

0 Answers0