All the system-related information like IP address, MAC Address, Serial Number, etc. can be retrieved from a built-in function SysInfo by specifying relevant parameters.
Syntax
$$SysInfo:
Where
can be any one of the following:
ApplicationPath, CurrentPath, SystemDate, SytemTime, SystemTimeHMS, SystemName, IsWindows, WindowsVersion, WindowsUser, IPAddress, MACAddress
Example
$$SysInfo:MachineName
For more information on details of each parameter, please refer to the document on TDL Enhancements.