System.Network.Wireless.address Property
Gets the Internet Protocol (IP) address of the active network adapter.
This property is read-only.
Syntax
propVal = System.Network.Wireless.address()
Parameters
- strIPAddress [out]
Retrieves 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 |
Minimum supported server | Windows Server 2008 |
IDL | Sidebar.idl |
DLL | Sidebar.Exe version 1.00 or later |
See Also
Send comments about this topic to Microsoft
Build date: 2/24/2010
Build type: SDK