VB.Net - System.IO.File.Move with Elevated Privileges
Posted on 2014-09-05
Good Day Experts!
I have developed a small SA VB.net exe to move files on one of our network paths. My searches on the net have been inconclusive.
It works fine when I execute it from my machine as I have Administrator privileges. However, when I put it on the User machine it does not work due to lack of permissions.
How can I elevate the privileges of the User in the code to be able to execute System.IO.File.Move?