.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
satyapriyanayak
Subhransu Sekhar Jena
abhays
SP
DotnetUser

Home >> Code Snippets >> File Operation >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Check Application is Running as a Administrator account or not using C# 4.0

Posted By:Ravi Ranjan Kumar       Posted Date: July 31, 2011    Points: 40    Category: File Operation    URL: http://raviranjankr.wordpress.com/  

This Code Snippet enable you to learn how to Check application is running as a admin account or not using C# 4.0.
 

If you're using VS 2010, you can  add an application manifest file. there's an option for one in the "Add New Item" dialog (right click on the project, click "Add" then click "New Item") and edit the generated file to uncomment the line that says:

For More Details you should read given MSDN link  

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend