When mining it's very common for a DAG to become corrupted. To resolve the problem deleting the file and restarting the miner is required.
I'm working on a miner manager to control RIGs and one of the features I want to include is to check if a DAG was corrupted instead of deleting it every X hours.
At this moment I'm only reading "REJECTED" on proxy which can be a cause of corrupted DAG.
So, there is any way (code/commandline) to check if the current DAG file is corrupted?