string wmiQuery = string.Format("select CommandLine from Win32_Process where Name='{0}'", "ArcMap.exe"); System.Management.ManagementObjectSearcher searcher = new System.Management.ManagementObjectSearcher(wmiQuery); System.Management.ManagementObjectCollection retObjectCollection = searcher.Get(); foreach (System.Management.ManagementObject retObject in retObjectCollection) System.Diagnostics.Debug.WriteLine(">>>>" + retObject["CommandLine"]);
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.