5#include "../core_export.hpp"
6#include "../object.hpp"
100 xtd::
string name() const noexcept;
115 size_t total_free_space() const;
126 size_t total_size() const;
137 xtd::
string volume_label() const;
146 xtd::
string to_string() const noexcept override;
166 xtd::
string drive_name_;
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories...
Definition directory_info.hpp:129
Provides access to information on a drive.
Definition drive_info.hpp:33
xtd::io::drive_type drive_type() const
Gets the drive type, such as CD-ROM, removable, network, or fixed.
xtd::string drive_format() const
Gets the name of the file system, such as NTFS or FAT32.
drive_info(const xtd::string &drive_name)
Provides access to information on the specified drive.
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.hpp:39
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
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.hpp:26
#define core_export_
Define shared library export.
Definition core_export.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10