□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□

  LogonTime
                                                           chilili kobo
                                                 chilili.kobo@gmail.com
                                              https://x.com/chililikobo
                                      https://chililikobo.github.io/en/
             https://www.vector.co.jp/vpack/browse/person/an062666.html

□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□

■ Introduction

  LogonTime (hereinafter referred to as "this software") is a command-
  line tool that analyzes Windows event logs to parse and list user
  logon and logoff times.

  It also automatically calculates the session duration (stay time)
  from logon to logoff.

■ Features

  1. Flexible Period Specification
     You can freely specify how many days of past logs to retrieve
     via command-line arguments.

  2. Multi-Format Output
     In addition to the standard console display, it supports CSV
     and JSON formats, making it easy to integrate with external
     tools and scripts.

  3. Internationalization (i18n)
     The software automatically detects the OS language settings.
     It displays messages and help in Japanese for Japanese systems
     and in English for all other environments.

  4. Native AOT Compilation
     Built with Native AOT technology in the latest .NET 10
     environment, it boots instantly as a single executable file
     without requiring any runtime installations.

■ System Requirements

  - OS: Windows 10 (1607+) / Windows 11 / Windows Server 2012+

  [Important]
  This software is designed to run standalone. No special setup or
  additional installations like the .NET Runtime are required.

■ Installation / Uninstallation

  [Installation]
  No installation is required. Simply place the executable file into
  any folder of your choice.

  [Uninstallation]
  Just delete the executable file. It does not use the registry.

■ Usage

  1. Run via Double-Click
     Double-clicking the executable file will run the program with
     the default settings (retrieving the past 30 days of logs) and
     display them in a standard text format.
     The window will wait for you to press the Enter key before
     closing, so it will not disappear immediately.

  2. Run via Terminal (Command Line)
     You can run the tool from Command Prompt, PowerShell, or any
     other terminal by specifying arguments and options.

  [Command Syntax]
  LogonTime.exe [days] [options]

  [Arguments]
    [days]      Specify the number of past days to retrieve as a
                numeric value (Default: 30).

  [Options]
    --csv       Outputs the results in CSV format.
                (For script integration. Exits immediately after output)
    --json      Outputs the results in JSON format.
    -h, --help  Displays this help message.

  [Notes]
  This tool references the Windows "System" event log. Depending on
  your environment's security configuration, "Administrator privileges"
  may be required to read the logs. If an access denied error occurs,
  please run your terminal as an Administrator and try again.

■ Terms of Use & Conditions

  1. License
     This software is freeware. It can be used free of charge by both
     individuals and corporations.
  2. Redistribution
     Redistribution is prohibited in principle. We recommend linking
     to the official website or introduction pages.
  3. External Communication
     This software does not transmit any retrieved information to the
     outside.

■ Warranty & Disclaimer

  This software is provided "As-Is", without warranty of any kind.

  1. Lack of Warranty
     The author does not warrant that this software is error-free or
     that it will fit any specific purpose.
  2. Disclaimer of Damages
     The author shall not be liable for any damages resulting from
     the use of this software (including data loss, PC malfunction,
     business interruption, loss of profits, etc.).
     Use it entirely at your own risk.

■ Support & Contact

  Since this software is provided as freeware, individual support
  (such as usage tutorials or guaranteed bug fixes) is not provided.

  Please report bugs or send requests to the following contact points.
  They will be used as reference for future development, but please
  note that a response or fix is not guaranteed.

  - Email: chilili.kobo@gmail.com
  - X (formerly Twitter): https://x.com/chililikobo
  - Web: https://chililikobo.github.io/en/

■ Changelog

  - 26.6.13.0
    - Migrated to .NET 10.0 and optimized for Native AOT.
    - Implemented past days specification, --csv, and --json options.
    - Supported English/Japanese localization via AppStrings.resx.

  - 24.3.5.0
    - Added support for English OS environments.

  - 23.10.31.1
    - Fixed a bug that caused an error when the username was unknown.

  - 22.6.12.0
    - Slightly optimized for a lighter footprint.

  - 22.5.27.1
    - Initial release.

□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□