Click or drag to resize

ExtensionsIsNetworkPath Method

Determines whether a path represents a network resource.

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static bool IsNetworkPath(
	this DirectoryInfo path
)

Parameters

path
Type: System.IODirectoryInfo
The path to test

Return Value

Type: Boolean
True if the given path is a network path; otherwise false

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DirectoryInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also