It explains how to check whether user is administrator or not and windows application build path in C#