Hi

i should execute code to check for services available of upnp service available and running or not

for this

public ServiceController[] services;
services = System.ServiceProcess.ServiceController.GetService(strSysName);
foreach (ServiceController service in services)
{
if (service.Status.ToString() == "Running")
{
if (service.ServiceName == "upnphost")
{
UpnpSystems.Items.Add(strSysName);
break;
}
}
}


but it is affecting system performance as service is getting whole services and i am checking each and every service.

instead i should find for the availability of upnp system

it is much affecting performance as i am accessing network systems around 100


please help in this regard
regards
Vinay Kumar