PathCollectionGetUNCPathFromMappedDrive Method |
This method needs the mpr.dll to work. (UNCPath length = max 1024 chars)
This method should only be used with mapped drives, e.g. for a fixed drive an IOException occurs (Not Connected)
See
DriveType to determine whether the drive is a network share.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic static string GetUNCPathFromMappedDrive(
string filePath
)
Public Shared Function GetUNCPathFromMappedDrive (
filePath As String
) As String
public:
static String^ GetUNCPathFromMappedDrive(
String^ filePath
)
static member GetUNCPathFromMappedDrive :
filePath : string -> string Parameters
- filePath String
- The path to be converted
Return Value
Stringconverted path
Exceptions
See Also