From c464d01c19c4583127caea180194515ba78ebeca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Climent?= Date: Thu, 26 Sep 2024 23:13:10 +0200 Subject: [PATCH] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index c8a0d35..5436efc 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ However, under certain scenarios (for example, Unpackaged, self-contained AppSdk In such case, it may be needed to use the `WindowsPackageManagerStandardFactory()` class, but modifying the CreateInstance method as shown [here (this is how it works on UniGetUI)](https://github.com/marticliment/UniGetUI/blob/9d73f284edfd0e9c26a2a8d3d72187180ea3af23/src/WindowsPackageManager.Interop/WindowsPackageManager/WindowsPackageManagerStandardFactory.cs#L23-L29) so that the undocumented `CLSCTX.CLSCTX_ALLOW_LOWER_TRUST_REGISTRATION` flag is passed to `PInvoke.CoCreateInstance`. -DISCLAIMER: I am no COM expert so I don't know the potential side effects of this undocumented flag. Use at your own risk. -
# Usage example