C# How to switch a process running in system context to user context without asking user credential

413 views Asked by At

I am running a process to read network drive (e.g U:) but the process is running in system context and network drive is only accessible in user context. Now I want that process to switch to user context (currently logged in user) and read U drive without asking user credential. Can anyone suggest how it can be achieved in Csharp?

Thanks in Advance!!!

0

There are 0 answers