T
TravisTurman
I'm a C# newbie and have inherited a program that runs at login. Part
of the program looks at a text file to see which version is installed
and then installs the latest greatest version if needed. In order for
this to work, the person logging into the Windows XP desktop needs to
have local admin rights on the machine. Is there a way using C# to
give the current user the necessary rights, or put them in the local
administrators group, when this application starts and then put them
back to the way they were when the program finishes running?
Any help would be greatly appreciated.
of the program looks at a text file to see which version is installed
and then installs the latest greatest version if needed. In order for
this to work, the person logging into the Windows XP desktop needs to
have local admin rights on the machine. Is there a way using C# to
give the current user the necessary rights, or put them in the local
administrators group, when this application starts and then put them
back to the way they were when the program finishes running?
Any help would be greatly appreciated.