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.
there are sample code , its check file access rights but don't ask for permission ,This post