Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ name()

std::string Ice::Service::name ( ) const
nodiscard

Gets the program name.

If the program is running as a Win32 service, the return value is the service name. Otherwise the return value is the executable name (i.e., argv[0]).

Returns
The service name.