0

I need sample code to get user permission and use this permission to access and modify specific files in the same application.

Some user have high security so the application have to be aware of this and ask them for access like prompt user account control.

enter image description here

there are sample code , its check file access rights but don't ask for permission ,This post

ASalameh
  • 783
  • 1
  • 8
  • 29

1 Answers1

0

MSDN's security center has much information on securing applications.

Also more info at the Windows Desktop dev center here.

Aaron Thomas
  • 5,054
  • 8
  • 43
  • 89
  • http://stackoverflow.com/questions/2818179/how-to-force-my-net-app-to-run-as-administrator-on-windows-7/2818776#2818776 This is the answer thanks . – ASalameh Apr 22 '15 at 12:30