469,625 Members | 1,714 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

Services (win-services) Description

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.
Nov 15 '05 #1
2 1187
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\Ser viceName\Description

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Per Rollvang" <pe*@rollvang.com> wrote in message
news:em**************@TK2MSFTNGP12.phx.gbl...
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.

Nov 15 '05 #2
I had hoped there was a more elegant solution, but it makes sense...

Thanks a lot, Ignacio.

-Per

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:en**************@TK2MSFTNGP10.phx.gbl...
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\Ser viceName\Description

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Per Rollvang" <pe*@rollvang.com> wrote in message
news:em**************@TK2MSFTNGP12.phx.gbl...
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.


Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Larry Bates | last post: by
4 posts views Thread by rbt | last post: by
1 post views Thread by Generic Usenet Account | last post: by
reply views Thread by summer cwj via .NET 247 | last post: by
2 posts views Thread by WRH | last post: by
reply views Thread by Amrit Kohli | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.