Multiple choice technology architecture

Which of the following classes handles the service account type?

  1. ServiceBase

  2. ServiceController

  3. ServiceProcessInstaller

  4. ServiceInstaller

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

ServiceProcessInstaller is the class that configures service-wide installation settings, including the Account property that specifies the service account type (LocalSystem, NetworkService, LocalService, or a specific user). ServiceBase is for service implementation, ServiceController for runtime control, and ServiceInstaller for individual service registration.