Hello everyone,
If I have enough priveleges, how could I get and access the services on a remote computer if I know the remote computer machine name? For example, I want to enumerate all the services on a remote computer and stop a service if its name matches some rules?
thanks in advance,
George
George GeorgePosted Sep 1, 2008, 9:18 AM
Cool!
regards,
George
Ryan AlfordPosted Aug 28, 2008, 1:06 PM
foreach (Process p in processes)
{
if (p.MainModule.ModuleName == whateverYouWantToCompareTheNameTo)
{
p.Kill();
}
}