winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

How can I use NuGet package Microsoft.WindowsPackageManager.Utils in C#

Open SlimRG opened this issue 3 years ago • 4 comments

I can't find any info about how can I use winget nuget package inside my C# project. What functions or class it has? Can you give some more information for developers? Thanks!

SlimRG avatar Jul 08 '21 20:07 SlimRG

And what? No changes after year....

SlimRG avatar Jun 09 '22 19:06 SlimRG

The relevant C header is here: WinGetUtil.h

The utils nuget package is not intended for public use, so there is not documentation beyond the code.

JohnMcPMS avatar Aug 09 '22 18:08 JohnMcPMS

The relevant C header is here: WinGetUtil.h

The utils nuget package is not intended for public use, so there is not documentation beyond the code.

I asked about C# nuget package

SlimRG avatar Aug 10 '22 09:08 SlimRG

It is a native nuget package, so you would have to PInvoke these methods.

JohnMcPMS avatar Aug 12 '22 18:08 JohnMcPMS