List Info

Thread: C-Sharp (C#) Group: Getting the physical path of network drive.




C-Sharp (C#) Group: Getting the physical path of network drive.
user name
2006-10-29 10:00:44
Hi ,
I am writing a program that part of than program if to add a
new
network drive to the user.
The adding part i know how to do (by win api
"WNetAddConnection2A") but
i want to check first if this path (network path) exist of
his
computer, if it does , what is the drive name.
to do this i need some how to get the network drive on the
local
computer by the network path (\comp1C$reports).

How do i do that ?
some things that i found ...
* I think that i need to use
"WNetGetResourceInformation"  win api
function, but i can't find how to use it.

Please help, Rony


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups-beta.google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )