Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "MIB_TCPROW_OWNER_PID" in [All]

iphlpapi

.

Generic methods for IPv4 and IPv6. Using MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID, MIB_TCP6ROW_OWNER_PID, MIB_TCP6TABLE_OWNER_PID and TCP_TABLE_CLASS

.

public static List<MIB_TCPROW_OWNER_PID> GetAllTCPConnections()

.

    return GetTCPConnections<MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID>(AF_INET);

.

public MIB_TCPROW_OWNER_PID[] GetAllTcpConnections()

.

    MIB_TCPROW_OWNER_PID[] tTable;

.

        tTable = new MIB_TCPROW_OWNER_PID[tab.dwNumEntries];

.

            MIB_TCPROW_OWNER_PID tcpRow = (MIB_TCPROW_OWNER_PID)Marshal.PtrToStructure(rowPtr, typeof(MIB_TCPROW_OWNER_PID));

.

      public struct MIB_TCPROW_OWNER_PID {

.

      public MIB_TCPROW_OWNER_PID[] table;

.

      public List<MIB_TCPROW_OWNER_PID> GetAllTCPv4Connections() {

.

          return GetTCPConnections<MIB_TCPROW_OWNER_PID, MIB_TCPTABLE_OWNER_PID>(AF_INET);

.

    Public table() As MIB_TCPROW_OWNER_PID

.

    Public Structure MIB_TCPROW_OWNER_PID

.

    Dim RowStructSize As Integer = Marshal.SizeOf(GetType(MIB_TCPROW_OWNER_PID))

.

    Dim TcpTableRows As New List(Of MIB_TCPROW_OWNER_PID)

.

        Dim TableRow As MIB_TCPROW_OWNER_PID = Marshal.PtrToStructure(RowArrayPtr, GetType(MIB_TCPROW_OWNER_PID))

Structures

.
Summary
The MIB_TCPROW_OWNER_PID structure contains information that describes an IPv4 TCP connection with IPv4 addresses, ports used by the TCP connection, and the specific process ID (PID) associated with connection.
.

public struct MIB_TCPROW_OWNER_PID

.

Public Structure MIB_TCPROW_OWNER_PID

.
Documentation
[MIB_TCPROW_OWNER_PID] on MSDN
.

    public MIB_TCPROW_OWNER_PID[] table;

.

MIB_TCPROW_OWNER_PID


 
Access PInvoke.net directly from VS: