[DllImport("Iphlpapi.dll", SetLastError = true)] public static extern uint GetAdaptersAddresses( uint Family, uint Flags, IntPtr Reserved, IntPtr AdapterAddresses, ref uint SizePointer );
Microsoft documentation: Link
Last updated 1 year ago