A modern .NET API client for the Hetzner Cloud API.
This library provides a clean and easy-to-use interface to manage servers, networks, firewalls, and other Hetzner Cloud resources directly from your .NET applications.
The package is available on NuGet.
PM> Install-Package Nager.HetznerCloudor
dotnet add package Nager.HetznerCloud
var apiToken = "<your-api-token>";
var httpClient = new HttpClient();
var hetznerCloudClient = new HetznerCloudClient(httpClient, apiToken);
var prices = await hetznerCloudClient.PricesQueryAsync();✅ – Feature implemented
⚪ – Feature not implemented
➖ – Not available in the Hetzner API
| Create | Read | Update | Delete | Actions | Extras | |
|---|---|---|---|---|---|---|
| General actions | ➖ | ⚪ | ➖ | ➖ | ➖ | ➖ |
| Certificates | ⚪ | ⚪ | ⚪ | ⚪ | ➖ | ➖ |
| Datacenters | ➖ | ✅ | ➖ | ➖ | ➖ | ➖ |
| Firewalls | ✅ | ✅ | ⚪ | ✅ | ⚪ | ⚪ |
| Floating IPs | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |
| Images | ➖ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |
| ISOs | ➖ | ⚪ | ➖ | ➖ | ➖ | ➖ |
| Load Balancers | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |
| Locations | ➖ | ⚪ | ➖ | ➖ | ➖ | ➖ |
| Networks | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |
| Placement Groups | ⚪ | ✅ | ⚪ | ⚪ | ⚪ | ⚪ |
| Pricing | ➖ | ✅ | ➖ | ➖ | ➖ | ➖ |
| Primary IPs | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |
| Servers | ✅ | ✅ | ⚪ | ✅ | ⚪ | ⚪ |
| Server Types | ➖ | ✅ | ➖ | ➖ | ➖ | ➖ |
| SSH Keys | ✅ | ✅ | ⚪ | ✅ | ⚪ | ⚪ |
| Volumes | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ | ⚪ |