{"blog_url":"https://potisan-programming-memo.hatenablog.jp/","height":"190","description":"\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u540c\u7b49\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002 P/Invoke\u3092\u4f7f\u3046\u5834\u5408\u306f\u4ee5\u4e0b\u3067\u3059\u3002 using System.Buffers; using System.Buffers.Binary; using System.Net; using System.Net.NetworkInformation; using System.Runtime.InteropServices; var table = TcpTableEntryIPv4.GetAllEntries(); Console.WriteLine(); sealed record class TcpTableEntryIPv4( TcpState S\u2026","image_url":null,"type":"rich","published":"2026-10-18 17:09:16","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F10%2F18%2F170916\" title=\"C# \u30b3\u30fc\u30c9\u30e1\u30e2 GetExtendedTcpTable (TCP_TABLE_BASIC_LISTENER/TCP_TABLE_BASIC_CONNECTIONS/TCP_TABLE_BASIC_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>","author_url":"https://blog.hatena.ne.jp/potisan/","categories":["C#","Windows"],"version":"1.0","author_name":"potisan","width":"100%","provider_name":"Hatena Blog","url":"https://potisan-programming-memo.hatenablog.jp/entry/2026/10/18/170916","title":"C# \u30b3\u30fc\u30c9\u30e1\u30e2 GetExtendedTcpTable (TCP_TABLE_BASIC_LISTENER/TCP_TABLE_BASIC_CONNECTIONS/TCP_TABLE_BASIC_ALL)"}