# Microsoft 365 Offline Image Downloader (`en-US`) — .NET NativeAOT A single-file, zero-dependency Windows desktop GUI (`dist\M365IsoDownloader.exe`) compiled ahead-of-time to native `win-x64` machine code with **.NET 9 NativeAOT** (`true`). ## Supported Editions (`en-US`, 32-bit & 64-bit) - **Microsoft 365 Apps for Enterprise** (`O365ProPlusRetail.img`) - **Microsoft 365 Apps for Business** (`O365BusinessRetail.img`) - **Microsoft 365 Personal / Family** (`O365HomePremRetail.img`) ## Highlights - **True `.NET NativeAOT` Single-File `.exe`:** Compiled directly to native x64 machine code with no JIT, no external DLLs, and no `.NET` runtime required on target Windows 10/11 PCs. - **Crisp Windows 11 Desktop UI:** Hardware-composited rounded window corners, Per-Monitor v2 High-DPI scaling, ClearType typography, and double-buffered GDI+ Fluent card layout. - **Instant Build Inspection (Zero Full Download Needed):** Sends HTTP `HEAD` + a 192 KB HTTP `Range` request (`bytes=32768-229375`) to read the ISO-9660 volume header and display the exact `16.0.xxxxx.xxxxx` build version, publish date, and file size before downloading. - **Local `.img` Build Comparison:** Reads byte `32768` of any existing `.img` files in your save folder to compare local vs. CDN builds (`Up to Date` vs. `Update Available`). - **Pause & Resume Support:** Streams via `SocketsHttpHandler` (HTTP/2 + TLS 1.3) into `.img.part` files with `ETag` verification, live transfer speed, and ETA. - **Automatic CDN Fallback:** Uses `/db/` primary endpoints and transparently falls back to `/pr/`. ## Building from Source Requires the `.NET 9+ SDK` and Visual Studio 2022 C++ Build Tools (`MSVC` + Windows SDK): ```powershell powershell -ExecutionPolicy Bypass -File .\build.ps1 ``` Output executable: `dist\M365IsoDownloader.exe`