I have a urgent query in C#, please let me know if you can be of any help.
I have an UI where in i need to upload docs, so when we click on a button I have set it to open "My Documents" and it does perfectly well, but the same on a Server it opens the server's local "My documents", but I need to open the My documents folder of logged in User which is nothing but my local box "My DOcuments" that getz mapped when i Login to server.
This would generally be like C$ on Client (V:) or C$ on Client (M:), so all i want to know is how can I get this newly mapped drive name ie V: / M: in Windwos application using C#
In my local box it would be
C:\Documents and Settings\\My Documents
In server it would be mapped drive of my local box which would be of any name
M:\Documents and Settings\\My Documents or
V:\Documents and Settings\\My Documents
Thanks for your timely help,