private void DomainDfsDiscovery() { Dictionary <string, string> dfsSharesDict = null; AdData adData = null; Mq.Info("Getting DFS paths from AD."); adData = new AdData(); adData.SetDfsPaths(); dfsSharesDict = adData.GetDfsSharesDict(); // if we found some actual dfsshares if (dfsSharesDict.Count >= 1) { MyOptions.DfsSharesDict = dfsSharesDict; MyOptions.DfsNamespacePaths = adData.GetDfsNamespacePaths(); } }