Method | Description | |
---|---|---|
FindProcessWithMatchingHandle ( |
Iterates all open handles on the system (using internal system call) to find the other process that has a handle open to the same memtory mapped file. Code based on http://forum.sysinternals.com/overview-handle-enumeration_topic14546.html |
|
GetProcessForTcpPort ( |
Searches all current TCP connections (IPv4 only) for the matching port (local port of the connection).
|
Method | Description | |
---|---|---|
GetExtendedTcpTable ( |
||
NtQuerySystemInformation ( SYSTEM_INFORMATION_CLASS SystemInformationClass, |
public static FindProcessWithMatchingHandle ( |
||
mmf | ||
return |
public static GetProcessForTcpPort ( |
||
localEndpoint | ||
remoteEndpoint | ||
return |