c#
project > new item add > app.manifest
edit app.manifest
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 매니페스트 옵션
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
c++
project > properties > linker > manifest file
UAC Execution Level => "requireAdministrator (/level='requireAdministrator')"
댓글 없음:
댓글 쓰기