TestimoX

API Reference

Class

Disk

Namespace ComputerX.Storage
Assembly ComputerX
Modifiers static

Facade to read physical disk information for a computer.

Inheritance

  • Object
  • Disk

Methods

public static Task<List<DiskInfo>> GetAsync(String computer = null, Nullable<TimeSpan> timeout = null, CancellationToken ct = null) #
Returns: Task<List<DiskInfo>>

Gets physical disks for the local or specified computer.

Parameters

computer System.String = null optionalposition: 0
Target computer; null/empty uses local machine.
timeout System.Nullable{System.TimeSpan} = null optionalposition: 1
Optional per-query timeout.
ct System.Threading.CancellationToken = null optionalposition: 2
Cancellation token.