I am working on an installation program for one of my company\'s product. The product can be installed multiple times and each installation represents a separate windows ser
the interface has changed since @sidprasher answered, try:
var collection = searcher.Get().Cast() .Where(mbo => mbo.GetPropertyValue("StartMode")!=null) .Select(mbo => Tuple.Create((string)mbo.GetPropertyValue("Name"), (string)mbo.GetPropertyValue("PathName")));