https://github.com/falox/libvirt-csharp
libvirt virtualization API C# bindings
https://github.com/falox/libvirt-csharp
csharp dotnet-core kvm libvirt libvirt-api libvirt-csharp qemu qemu-kvm virtualization-api
Last synced: 5 months ago
JSON representation
libvirt virtualization API C# bindings
- Host: GitHub
- URL: https://github.com/falox/libvirt-csharp
- Owner: falox
- License: lgpl-2.1
- Created: 2020-10-31T09:16:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-08T21:21:39.000Z (about 5 years ago)
- Last Synced: 2025-08-08T08:18:08.967Z (7 months ago)
- Topics: csharp, dotnet-core, kvm, libvirt, libvirt-api, libvirt-csharp, qemu, qemu-kvm, virtualization-api
- Language: C#
- Homepage:
- Size: 59.6 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/falox/libvirt-csharp/actions?query=workflow%3A%22.NET+Core%22)
[](https://www.nuget.org/packages/libvirt-csharp)
[](https://coveralls.io/github/falox/libvirt-csharp?branch=main)
# libvirt-csharp
`libvirt-csharp` is a cross-platform library to access the [libvirt](https://libvirt.org/) virtualization API from C# and .NET Core.
The [official C# bindings](https://libvirt.org/csharp.html) 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.
## Compiling the source code
```bash
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:
```bash
dotnet test
```