I am trying to record the last access time of all the apps intalled in a pc, i have the next code:
System.IO.File.SetLastAccessTime(appList[offSet], DateTime.Now);
I understand that i need to give permissions to make this operation, i alreay try a manifest file with the next line:
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
But when i run my program, the next error appears:
Error ClickOnce does not support the request execution level 'requireAdministrator'
How can i solve this problem?