List Windows System Process (VB.NET) via WMI

xiaoxiao2021-03-06  68

DIM CMICWMI AS New System.Management.ManagementObjectSearcher ("SELECT * WIN32_PROCESS")

For Each Cmicwmiobj As ManagementObject In Cmicwmi.get

Listbox1.items.Add ("Service:" CMICWMIOBJ ("Name") "FilePath:" CMICWMIOBJ ("ExecutablePath")))

NEXT

转载请注明原文地址:https://www.9cbs.com/read-110062.html

New Post(0)