libvirt-csharp
is a cross-platform library to access the libvirt virtualization API from C# and .NET Core.
The official C# bindings of the libvirt API are pretty old and they are built on the .NET Framework (not Core) and Mono. This is an attempt to adhere to the new standard and patterns.
git clone https://github.com/falox/libvirt-csharp.git
cd libvirt-csharp
dotnet build
You cannot run dotnet run
, since there are no sample clients yet. You can find some examples in the tests
directory, and you can run them with:
dotnet test