Converting Mapped Drive string to Server Name (UNC path)
-
I have a simple question. How can I find out if a drive is local or mapped and if network mapped what the actual network mapping is? I am using a FolderBrowserDialog to retrieve the path string and need to make sure the path is converted to actual path and check to see if the path is on a removeable device, local hard drive, or network path. I used to be able to this in C++ with API calls (it has been years since I tried), and C++ is not C#. Thanks,
Leo T. Smith Program/Analyst Supervisor
-
I have a simple question. How can I find out if a drive is local or mapped and if network mapped what the actual network mapping is? I am using a FolderBrowserDialog to retrieve the path string and need to make sure the path is converted to actual path and check to see if the path is on a removeable device, local hard drive, or network path. I used to be able to this in C++ with API calls (it has been years since I tried), and C++ is not C#. Thanks,
Leo T. Smith Program/Analyst Supervisor
You can invoke API calls with C#.