System.IO.DriveInfo.Name Property

Gets the name of a drive, such as C:\.

Syntax

public string Name { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is the name assigned to the drive, such as C:\ or E:\.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0