Click or drag to resize

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: 7.2
Syntax
public static string GetUNCPathFromMappedDrive(
	string filePath
)

Parameters

filePath  String
The path to be converted

Return Value

String
converted path
Exceptions
ExceptionCondition
ArgumentExceptionIf the argument is not a valid path
IOExceptionIf the windows system call fails
See Also