The HostInfo type exposes the following members.
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
AllLocalAdaptorNames |
Returns all local adaptor names. Can be used to determine which adaptor names to use with RestrictLocalAdaptorNames.
|
Properties
Name | Description | |
---|---|---|
HostName |
Returns the current machine hostname
| |
RestrictLocalAdaptorNames |
Restricts the addresses that may be used when listening.
If set FilteredLocalAddresses will only return addresses corresponding with specified adaptors names.
Please see AllLocalAdaptorNames for a list of local adaptor names.
Correct format is string[] { "Local Area Connection", "eth0", "en0", "wlan0" }.
|
See Also