Click or drag to resize

DiskSpaceInfo Constructor (String, NullableBoolean, Boolean, Boolean)

Initializes a DiskSpaceInfo instance.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public DiskSpaceInfo(
	string drivePath,
	Nullable<bool> spaceInfoType,
	bool refresh,
	bool continueOnException
)

Parameters

drivePath
Type: SystemString
A valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z' or a network share in the format: \\server\share
spaceInfoType
Type: SystemNullableBoolean
gets both size- and disk cluster information. Get only disk cluster information, Get only size information.
refresh
Type: SystemBoolean
Refreshes the state of the object.
continueOnException
Type: SystemBoolean
suppress any Exception that might be thrown as a result from a failure, such as unavailable resources.
See Also