// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//! Windows Sandbox host-availability probe (ports the SDK's
//! `isWindowsSandboxAvailable()`).
//!
//! Detects availability by the presence of `WindowsSandbox.exe`, which Windows
//! installs only when the `Containers-DisposableClientVM` feature is enabled. We
//! skip the SDK's DISM query: `dism /online` needs elevation and this probe only
//! runs unelevated, so it would always fall through to this same exe check.
use cratesystem_directory;