Click or drag to resize

DriveInfoTotalSize Property

Gets the total size of storage space on a drive.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public long TotalSize { get; }

Return Value

Type: Int64
The total size of the drive, in bytes.
Remarks
This property indicates the total size of the drive in bytes, not just what is available to the current user.
See Also