In my application, i need all logical drives including mapped network drives. Its working fine without run as administrator. But my application by default run as administrator and i am not able to mapped network drives. I know that why its happened.
I am using DriveInfo.GetDrives() for collection drives.
My question is, can i possible to execute a single method(collecting all mapped drives) as current user privileges in the application that running as administrator?
Or any other ways to collect all network drives.
Thanks in advance.