SystemdHelpers.IsSystemdService Método
Definição
Verificar se o processo atual está hospedado como um serviço de systemd.Check if the current process is hosted as a systemd Service.
public:
static bool IsSystemdService();
public static bool IsSystemdService ();
static member IsSystemdService : unit -> bool
Public Shared Function IsSystemdService () As Boolean
Retornos
true se o processo atual estiver hospedado como um serviço de systemd, caso contrário, false.true if the current process is hosted as a systemd Service; otherwise, false.