MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / classes

Method classes

windows/winobject/wmi.py:347–352  ·  view source on GitHub ↗

The list of classes in the namespace. This a a wrapper arround :func:`create_class_enum`. :return: [:class:`WmiObject`] - A list of :class:`WmiObject`

(self)

Source from the content-addressed store, hash-verified

345
346 @property
347 def classes(self):
348 """The list of classes in the namespace. This a a wrapper arround :func:`create_class_enum`.
349
350 :return: [:class:`WmiObject`] - A list of :class:`WmiObject`
351 """
352 return self.create_class_enum(None, deep=True)
353
354 def create_instance_enum(self, clsname, flags=DEFAULT_ENUM_FLAGS, deep=True):
355 """Enumerate the instances of ``clsname``. Deep allows to enumerate the instance of subclasses as well

Callers

nothing calls this directly

Calls 1

create_class_enumMethod · 0.95

Tested by

no test coverage detected