问题标签 [windb]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
838 浏览

c# - 将 .NET System.Int64 转换为 IP 地址

我在 Windbg 中有以下 System.Net.IPAddress 对象,并希望将 m_address (4294967295 m_Address) 字段转换为相应的点分四进制表示法。我怎样才能做到这一点?我看到 m_ToString 的值为 00000000。该字符串是如何获得的?

所以似乎在断点处 m_Address 字段没有地址。执行 UdpClient.Receive 方法后。我得到以下内容。

但问题仍然是将 Int64 转换为 IP 地址的数学公式是什么?