Services (win-services) Description

  • Thread starter Thread starter Per Rollvang
  • Start date Start date
P

Per Rollvang

Hi All!

I am trying to figure out how to get info about different services from
C#.NET.

If I open the Services Applet from Control Panel (WinXP), I have an
'Extended Tab', whitch gives me a description-string, something I don't get
using the framework's System.ServiceProcess.ServiceController object (among
other things it don't seem to give me...).

Anybody got an idea of how I to retrieve this (description-string) using the
framework or via API's?

I use NET 2002, (framework v1.0), WinXP.

TIA

Per Rollvang, MCP.
Please reply to the newsgroup.
 
Hi,

I know this was an issue with V1.0 , I don;t remember if it was corrected
on 1.1, You will have to search the registry for it,
IIRC you will find it under
LocalMachine\System\CurrentControlSet\Services\ServiceName\Description

Hope this help,
 
I had hoped there was a more elegant solution, but it makes sense...

Thanks a lot, Ignacio.

-Per
 
Back
Top