Please give the code to track autorun. That is, to calculate the information and compare, and when a change is detected, a warning appears.
1 answer
And what's the problem then?
- get the task list in autoload. 1 , 2 and so on.
- if there is no saved list, save the current one. no more work
- if there is a previous one, then you need to compare. Here is an example . More . If it is expected that the lists will be large, then you can sort the lists and walk on them.
Everything, the floor of the program is ready. It remains to decide when to run. The easiest option - at the start and once or twice per hour. The more difficult option is to monitor the registry. One of the keywords is RegNotifyChangeKeyValue. Some thoughts here .
And then - go ahead.
|