B
Brian
I want to convert a filename to it's equivalent unc filename. First, is there
a C# call that i can use that will do it directly?
If not then I will look at the Directory.FullPath() of a file and detemine
it it has a VolumeSeparatorCharacter in it. If so I will then look at the
DriveInfo for that volume and determine if it is a network drive. If not then
I will replace the volume specifier with a unc name like \\192.168.1.2\c$\...
However, what can I use to translate the the network volume drive into a
sharename that I can use to form the unc name? Is there a method for that
somewhere?
thanks
a C# call that i can use that will do it directly?
If not then I will look at the Directory.FullPath() of a file and detemine
it it has a VolumeSeparatorCharacter in it. If so I will then look at the
DriveInfo for that volume and determine if it is a network drive. If not then
I will replace the volume specifier with a unc name like \\192.168.1.2\c$\...
However, what can I use to translate the the network volume drive into a
sharename that I can use to form the unc name? Is there a method for that
somewhere?
thanks