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

Method from_handle

windows/pipe.py:34–37  ·  view source on GitHub ↗

Create a :class:`PipeConnection` from pipe handle `phandle`

(cls, phandle, *args, **kwargs)

Source from the content-addressed store, hash-verified

32
33 @classmethod
34 def from_handle(cls, phandle, *args, **kwargs):
35 """Create a :class:`PipeConnection` from pipe handle `phandle`"""
36 connection = native_PipeConnection(phandle)
37 return cls(connection, *args, **kwargs)
38
39 @classmethod
40 def create(cls, addr, security_descriptor=None):

Callers 5

createMethod · 0.45
connectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected