C# .NET - Accessing server using a service account

Asked By karur krishna madhu on 07-May-13 02:59 AM
I have a web server and i need to access  certain folder in that server for which i have been given all the privileges using a  service account (username,password,domain) i have to access the folder. could any one let me know the code in c# or any link for that
Sandeep Mittal replied to karur krishna madhu on 14-May-13 01:58 AM
You need to implement impersonation for it.
Explore Impersonation and understand how to implement the same.