From 1fca0903c8b08a119092a9549858befb663a8335 Mon Sep 17 00:00:00 2001 From: Martin Kuschnik Date: Mon, 11 Dec 2023 11:03:13 +0100 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 7b35508..0df7794 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,26 @@ using (WmiConnection con = new WmiConnection(@"\\MACHINENAME\root\cimv2", opt)) } ``` +## Native AOT deployment + +WmiLight supports Native AOT deployment since [Version 5.0.0](https://github.com/MartinKuschnik/WmiLight/releases/tag/v5.0.0). + +It's also possible to link WmiLight statically to have only one executable working without the `WmiLight.dll`.
+To link WmiLight statically, add `true` to your project file. + +```xml + + true + true + +``` + ## Other benefits: * easy usage +* support for Native AOT deployment + * no distinction between local and remote queries * Debugger Preview