5#include "../core_export.h"
113 size_t total_free_space() const;
124 size_t total_size() const;
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories...
Definition directory_info.h:127
Provides access to information on a drive.
Definition drive_info.h:31
xtd::io::drive_type drive_type() const
Gets the drive type, such as CD-ROM, removable, network, or fixed.
drive_info(const xtd::ustring &drive_name)
Provides access to information on the specified drive.
xtd::ustring drive_format() const
Gets the name of the file system, such as NTFS or FAT32.
size_t available_free_space() const
Indicates the amount of available free space on a drive, in bytes.
bool is_ready() const noexcept
Gets a value that indicates whether a drive is ready.
static const drive_info empty
Represents the uninitialized xtd::io::drive_info object. This field is constant.
Definition drive_info.h:37
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:32
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Contains xtd::io::directory_info class.
Contains xtd::io::drive_type enum class.
drive_type
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory,...
Definition drive_type.h:24
#define core_export_
Define shared library export.
Definition core_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10