How do I convert a path with a drive letter like W:\\Path\\Share
to the equivalent unc path like \\\\server\\Share\\File
in .Net?
At the comman
To get a list of the shared folders on the current machine in .NET you have to options:
Note that the calling process will have run in the context of a user with administrative privileges for this to work.