Macro Name: @IPAddress1
@IPAddress2
@IPAddress3
@IPAddress2
@IPAddress3
@IPAddress4
IP address of up to four network adapters can be collected using the above macros. If the network adapter is not available, returns 0.0.0.0.
Example is provided below:
#include <MsgBoxConstants.au3>
;Display IP addresses
MsgBox($MB_SYSTEMMODAL, "IP Address", "IP Address 1: " & @IPAddress1 & @CRLF & _
"IP Address 2: " & @IPAddress2 & @CRLF & _
"IP Address 3: " & @IPAddress3 & @CRLF & _
"IP Address 4: " & @IPAddress4)
;Display IP addresses
MsgBox($MB_SYSTEMMODAL, "IP Address", "IP Address 1: " & @IPAddress1 & @CRLF & _
"IP Address 2: " & @IPAddress2 & @CRLF & _
"IP Address 3: " & @IPAddress3 & @CRLF & _
"IP Address 4: " & @IPAddress4)
- AutoIt - Get Operating System
- AutoIt - Get OS Service Pack
- AutoIt - Get Computer Name
- AutoIt - Get OS Language
- AutoIt - Get Keyboard Layout
- AutoIt - Get Multi Language Name
- AutoIt - Get currently logged on user name
- AutoIt - Get CPU Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get OS Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get Display Height (Vertical Resolution) and Width (Horizontal Resolution)
- AutoIt - Get Display Depth (Color quality)
- AutoIt - Get Display Refresh Rate
Interesting? Share and Let Others Know.
Post a Comment