System.Network.Wireless.address property
[ The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
Gets the Internet Protocol (IP) address of the active network adapter.
This property is read-only.
Syntax
straddress = System.Network.Wireless.address
Property value
A String that receives the IP address.
Remarks
If the system has multiple network interfaces, only the active interface is detected.
Examples
The following example demonstrates how to use the address property.
var mytext = "address: " + System.Network.Wireless.address;
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 |
IDL |
|
DLL |
|