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.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public 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
- Type: SystemString
The path to be converted
Return Value
Type:
Stringconverted path
Exceptions See Also