Program modified in memory

using the PC SDK is there a means to know if a program has been modified?