{"height":"190","url":"https://potisan-programming-memo.hatenablog.jp/entry/2026/10/11/162658","blog_url":"https://potisan-programming-memo.hatenablog.jp/","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","provider_name":"Hatena Blog","title":"C#&Windows \u30b3\u30fc\u30c9\u30e1\u30e2 SendARP","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F10%2F11%2F162658\" title=\"C#&amp;Windows \u30b3\u30fc\u30c9\u30e1\u30e2 SendARP - 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>","provider_url":"https://hatena.blog","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/potisan/","width":"100%","description":"using System.Buffers.Binary; using System.Runtime.InteropServices; // \u30eb\u30fc\u30bf\u30fc\u3067\u826f\u304f\u4f7f\u308f\u308c\u308bIPv4\u30a2\u30c9\u30ec\u30b9192.168.10.1\uff08\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\uff09 // \u30c6\u30b9\u30c8\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002 var ipv4 = new byte[4] { 192, 168, 10, 1 }; // \u8868\u793a\u7528\u306b\u914d\u5217\u3068\u3057\u3066\u78ba\u4fdd var mac1 = MacAddressEui48.SendArp(ipv4); Console.WriteLine($\"{string.Join('.', ipv4)} -> {mac1} (OUI: {\u2026","image_url":null,"published":"2026-10-11 16:26:58","categories":["C#","Windows"],"author_name":"potisan"}