开发者

how to get MAC aaddress and Modified date of text file in C++ builders

how to get mac address of pc and modified date of text file in runtime p开发者_运维知识库rogram,using C++ builder,if both matches red color rectangle should come,or else green colour...as an output


For the MAC address, look at the Win32 API GetAdapterAddresses() and similar functions. Keep in mind that a PC can have multiple MACs available, one for each installed network adapter if the PC is connected to multiple networks.

For the file date, look at the Win32 API GetFileTime() or FindFirstFile() functions, or the VCL FindFirst() function (which uses FindFirstFile() internally.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜