C# Windows service description

  • Thread starter Thread starter Brian Kerr
  • Start date Start date
B

Brian Kerr

Can anyone point me in the right direction on how to set the windows
service description in a C# windows service? Or even better how to
set a localized description in the service?
Thanks
 
Thanks for Haacked's informative link.

Hi Brian,

Here is another tech article describe adding a description for the windows
service. Since the buildin Service
Class in the framework dosn't provide the description property, generally
we need to access the registry so as to set the description for a windows
service.

#Adding a description to a .NET Windows Service
http://www.codeproject.com/dotnet/dotnetscmdescription.asp

Also, as for localization, you can just store different culture
descriptions in assembly as resource and retrieve them out at runtime based
on the sytstem's culture setting. Thanks.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Hi Brain,

Have you had a chance to check the things in the former messages or have
you got any further ideas on this? If there're anything else we can help,
please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top