UtilVolumeMaxComponentPathLength Property

Gets the maximum path length for a Unicode path component for the current 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.

This type of path is composed of "path components" separated by backslashes, for example: C:\component1\component2.

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 MaxComponentPathLength { get; }

Property Value

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

Remarks

See Also