title: Admin rights prompt popup in C# application
body: <p>I have a function in my application which requires admin rights.</p>
  
  <p>What I want is when I click the button to execute that function, it should ask for admin username and password. (Launch UAC dialog. Also show icon on that button.)</p>
  
  <p>Is it possible?</p>
  
  <p><img src="https://i.stack.imgur.com/5OO0W.jpg" alt="alt text"></p>
  
  <p>PS: I know about launching the application with admin right by making modifications in manifest file.</p>
  
  <p>Also this function is a part of a large program and it cannot be transferred to a separate program.</p>