Ethernet adapter information ((MacAddress, IP, etc.) to come out of the list
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... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:51 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz