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

Method pid

windows/winobject/process.py:1024–1029  ·  view source on GitHub ↗

Process ID :type: :class:`int`

(self)

Source from the content-addressed store, hash-verified

1022
1023 @utils.fixedpropety
1024 def pid(self):
1025 """Process ID
1026
1027 :type: :class:`int`
1028 """
1029 return winproxy.GetProcessId(self.handle)
1030
1031 def _get_handle(self):
1032 return winproxy.OpenProcess(dwProcessId=self.pid)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected