UtilVolumeMaxComponentPathLength(String) Property

Gets the maximum path length for a Unicode path component for the specified volume.

The Windows API has many functions that also have Unicode versions to permit an extended-length path for a maximum total path length of approximately 32.767 characters.

The maximum extended-length path is defined in the MaxExtendedPathLength property, read the property description for further details.

The extended-length path prefix is defined in the ExtendedPathPrefix property, read the property description for further details about its usage.

Definition

Namespace: DevCase.Core.IO.Devices.Drives
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static int this[
	string rootPathName
] { get; }

Parameters

rootPathName  String
The root path name (eg. "C:\").

Property Value

Int32
The maximum path length for a Unicode path component for the specified volume, or -1 in case of the function failed to retrieve the value.

Remarks

See Also