TestimoX

API Reference

Class

DiskInfo

Namespace TestimoX
Assembly TestimoX

Represents logical disk information on a computer.

Inheritance

  • Object
  • DiskInfo

Constructors

public DiskInfo() #

Properties

public String ComputerName { get; set; } #

Machine name where the disk is located.

public String Name { get; set; } #

Drive name or mount point (e.g., C:\\).

public Nullable<DriveType> DriveType { get; set; } #

Drive type (fixed, removable, etc.).

public String VolumeName { get; set; } #

Volume label, if present.

public String FileSystem { get; set; } #

File system type (e.g., NTFS, ReFS).

public Int64 Size { get; set; } #

Total size in bytes.

public Int64 FreeSpace { get; set; } #

Free space in bytes.

public String SizeHuman { get; } #

Gets the drive size in a human friendly format, e.g. MB or GB.

public String FreeSpaceHuman { get; } #

Gets the free space in a human friendly format, e.g. MB or GB.

public Double PercentageFree { get; } #

Gets the percentage of free space on the drive.