title: Is there a way in C# that i can give administrative rights to only methods that need it?
body: <p>Is it possible to grant administrative rights for a specific portions/snippets of the program when they are executed?<br>
  I know we can use manifest files to give our whole application the admin rights,but i don't like that since suppose 70% ~ 80% of my application services don't need administrative rights and or my end users don't really like to face UAC prompt each time they run the application.<br>
  Is there a way to achieve such a goal? </p>