Click or drag to resize

DirectoryGetDirectoryRoot Method

Returns the root information of the specified directory.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static string GetDirectoryRoot(
	string path
)

Parameters

path  String
Directory to search.

Return Value

String
A string with the root information of the specified directory.
Exceptions
ExceptionCondition
PathTooLongExceptionPath is longer than 248 characters.
UnauthorizedAccessExceptionHigher permissions required.
ArgumentExceptionThe path contains invalid characters.
ArgumentNullExceptionThe path is null.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also