IOHelperFilePathIsRemote Method |
Evaluates a path to determine whether it is at a network/remote location.
Namespace: com.softwarekey.Client.UtilsAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax public static bool FilePathIsRemote(
string path
)
Public Shared Function FilePathIsRemote (
path As String
) As Boolean
public:
static bool FilePathIsRemote(
String^ path
)
Parameters
- path
- Type: SystemString
The path to evaluate.
Return Value
Type:
BooleanReturns true if the path given resides on a network resource, or false if it is on the local system/device.
Exceptions Remarks Caution |
---|
This function is presently only supported in Windows desktop operating systems. Attempting to call it from any other will throw a PlatformNotSupportedException. |
Note |
---|
When a valid path which includes a drive letter is given, this function will return true if it is a mapped network drive.
When a UNC path is specified, this function always assumes it is a network/remote path (even if said path is hosted by the local device/system). |
See Also