单项选择题

A.使用ServiceController类的机器名和服务名的属性。
B.使用ServiceController类的站点属性。
C.使用ServiceInstaller类的站点属性。
D.使用ServiceInstaller类的服务名和显示名称属性。