windows 7 - Checking user account settings in C# -
To see the status of the user account control settings, see # /. Code>. Specifically, I want to know that it is set to
-
for any one
-
neverify < / P>
I do not want to change the settings, but I would like to know what they are.
I'm not sure you can do this. What you can do to create and embed a manifest
In Windows Vista®®, the right way to mark your application is to embed an app manifest in your program that is operating Tells the system what the application is needed. In the Windows Vista release, there are provision to allow non-manifest or unsigned code to run with full administrative access tokens.
Please see the post.
From my experiences, it is not only for Vista, but also for Win7, Win2008.
We tried to play clearly, and it works.
In addition, it may also help you:
To run such an order to appear in the exe:
mt.exe-manifest "C: \ path \ to \ ypur \ manifest \ My.manifest" -outputresource: "path \ to \ your \ exefile \ my.exe"
Use this command for postband events:
mt.exe -manifest "$ (ProjectDir) $ (TargetName) .exe.manifest" -updateresource: " $ (Target dead) $ (target name). Exe; "
Comments
Post a Comment