There are those rare(maybe not) cases where you may want to make your application always run as admin due to some of the code being executed within it. In this tut I’m going to show you how to always run a .NET application as admin.

One way to do this easily with .NET is adding an application manifest file to your solution.

Step 1.

Within Your project right click on your application name and select “Add” –> New Item”:

 

Adding New Item

 

 

Don't Keep It To Yourself, Share this treat!
How To Always Run A .NET Application As Admin https://tutbakery.com/wp-content/uploads/2015/10/shield-511714_640.jpghttps://tutbakery.com/wp-content/uploads/2015/10/shield-511714_640-150x150.jpg Uriahs Victor VB.NET
  There are those rare(maybe not) cases where you may want to make your application always run as admin due to some of the code being executed within it. In this tut I'm going to show you how to always run a .NET application as admin. One way to do this...
<img class="alignnone" src="http://res.cloudinary.com/tutbakery/image/upload/v1446108619/shield-511714_640_fjdl1r.jpg" alt="" width="640" height="480" />   There are those rare(maybe not) cases where you may want to make your application always run as admin due to some of the code being executed within it. In this tut I'm going to show you how to always run a .NET application as admin. <div class="upload-share-panel"></div> One way to do this easily with .NET is adding an application manifest file to your solution. <h1>Step 1.</h1> Within Your project right click on your application name and select "Add" --> New Item":   <img class="alignnone" src="http://res.cloudinary.com/tutbakery/image/upload/v1446082995/vsnewitem_x0lwjv.png" alt="Adding New Item" width="1366" height="768" />   <h1></h1>  
Like
Like Love Haha Wow Sad Angry