Replace the remaining uses of Marshal.PtrToStructure in core networking (#70900)
authorJan Kotas <jkotas@microsoft.com>
Fri, 17 Jun 2022 23:51:17 +0000 (16:51 -0700)
committerGitHub <noreply@github.com>
Fri, 17 Jun 2022 23:51:17 +0000 (16:51 -0700)
commit9dfdfbf1718c29f4c905bb6474e214fac9fe7910
tree8f59da66a8242cfb31172833f850367e7f111668
parent0666d9d687e13a310b8794a0af6919ee15fdf815
Replace the remaining uses of Marshal.PtrToStructure in core networking (#70900)

* Rename ICMP interop to match Windows SDK names
src/libraries/Common/src/Interop/Windows/IpHlpApi/Interop.FIXED_INFO.cs
src/libraries/Common/src/Interop/Windows/IpHlpApi/Interop.ICMP.cs
src/libraries/Common/src/Interop/Windows/IpHlpApi/Interop.IP_ADDR_STRING.cs
src/libraries/Common/src/Interop/Windows/IpHlpApi/Interop.NetworkInformation.cs
src/libraries/Common/src/System/Net/NetworkInformation/HostInformationPal.Windows.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemIPGlobalProperties.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemIPInterfaceProperties.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemIPv4InterfaceProperties.cs
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/SystemNetworkInterface.cs
src/libraries/System.Net.Ping/src/System/Net/NetworkInformation/Ping.Windows.cs