Click or drag to resize
IOHelperFilePathIsRemote Method
Evaluates a path to determine whether it is at a network/remote location.

Namespace: com.softwarekey.Client.Utils
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
public static bool FilePathIsRemote(
	string path
)

Parameters

path
Type: SystemString
The path to evaluate.

Return Value

Type: Boolean
Returns true if the path given resides on a network resource, or false if it is on the local system/device.
Exceptions
Remarks
Caution note Caution

This function is presently only supported in Windows desktop operating systems. Attempting to call it from any other will throw a PlatformNotSupportedException.

Note 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