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.
$$SysInfo:<Parameter>
Where
<Parameter> can be any one of the following:
ApplicationPath, CurrentPath, SystemDate, SytemTime, SystemTimeHMS, SystemName, IsWindows, WindowsVersion, WindowsUser, IPAddress, MACAddress
For Example
,
$$SysInfo:MachineName
For more information on details of each parameter, please refer the document on TDL Enhancements.