directory_info

September 14, 2025 ยท View on GitHub

Show how to use xtd::io::directory_info class.

Sources

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

full_name = /|---OMITTED---|/xtd.examples/xtd.core.examples/io/directory_info/Debug
  attributes = directory
  creation_time = Fri Oct 22 19:21:52 2021
  exists = true
  extension =
  last_access_time = Fri Oct 22 19:22:14 2021
  last_write_time = Fri Oct 22 19:22:14 2021
  name = Debug
  to_string = .