{"height":"190","published":"2026-10-18 17:27:46","provider_url":"https://hatena.blog","author_name":"potisan","provider_name":"Hatena Blog","version":"1.0","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F10%2F18%2F172746\" title=\"C# \u30b3\u30fc\u30c9\u30e1\u30e2 GetExtendedTcpTable (TCP_TABLE_OWNER_PID_LISTENER/TCP_TABLE_OWNER_PID_CONNECTIONS/TCP_TABLE_OWNER_PID_ALL) - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","width":"100%","title":"C# \u30b3\u30fc\u30c9\u30e1\u30e2 GetExtendedTcpTable (TCP_TABLE_OWNER_PID_LISTENER/TCP_TABLE_OWNER_PID_CONNECTIONS/TCP_TABLE_OWNER_PID_ALL)","categories":[],"description":"\u30d7\u30ed\u30bb\u30b9ID\u304c\u4e0d\u8981\u306a\u5834\u5408\u306f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 using System.Buffers; using System.Buffers.Binary; using System.Diagnostics; using System.Net; using System.Net.NetworkInformation; using System.Runtime.InteropServices; var table = TcpTableEntryIPv4WithProcessID.GetAllEntries(); foreach (var entry in table.OrderBy(en\u2026","image_url":null,"url":"https://potisan-programming-memo.hatenablog.jp/entry/2026/10/18/172746","author_url":"https://blog.hatena.ne.jp/potisan/","blog_url":"https://potisan-programming-memo.hatenablog.jp/"}