public static bool FilePathIsRemote( string path )
Public Shared Function FilePathIsRemote ( path As String ) As Boolean
public: static bool FilePathIsRemote( String^ path )
This function is presently only supported in Windows desktop operating systems. Attempting to call it from any other will throw a PlatformNotSupportedException.
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).