Windows is installed on a network (Ethernet adapter) information comes out. (Implemented in Rio 10.3.) You will need to add
Winapi.IPTypes,
Winapi.IPHlpAPi uses clause. v a r I: integer; NumInterfaces: DWORD; AdapterInfo: array of TIpAdapterInfo; uses
Winapi.IpTypes OutBufLen: ULONG;begin GetNumberOfInterfaces(NumInterfaces); uses
Winapi.IpHlpApi SetLength(AdapterInfo, NumInterfaces); OutBufLen := NumInterfaces * SizeOf(TIpAdapterInfo); GetAdaptersInfo(@AdapterInfo[0], OutBufLen); Memo
Weiterlesen...