TestimoX

API Reference

Class

LogicalDisk

Namespace ComputerX.Storage
Assembly ComputerX
Modifiers static

Facade to read logical disk information for a computer.

Inheritance

  • Object
  • LogicalDisk

Methods

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

Gets logical disk information 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.