SystemdHelpers Class

Definition

Helper methods for systemd Services.

public static class SystemdHelpers
Inheritance
SystemdHelpers

Methods

IsSystemdService()

Check if the current process is hosted as a systemd Service.

Applies to

產品 版本
.NET 8 (package-provided), 9 (package-provided)
.NET Standard 2.1 (package-provided)