c# - Edit xml in program files throgh code -


i have xml file in c:\program files(86)\application . can edit file through note pad open administrator. want edit file through code. possible edit xml file through code? using windows 8.1 , visual studio 12.

you can add application manifest file project , replace

<requestedexecutionlevel level="asinvoker" uiaccess="false" /> 

with

<requestedexecutionlevel level="requireadministrator" uiaccess="false" /> 

this way application require administrator rights run.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -