NetworkAddressHelperGetLocalAddresses Method |
Gets the list of local IP addresses.
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.98
Syntaxpublic static List<IPAddress> GetLocalAddresses(
bool includeIPv4 = true,
bool includeIPv6 = false
)
Public Shared Function GetLocalAddresses (
Optional includeIPv4 As Boolean = true,
Optional includeIPv6 As Boolean = false
) As List(Of IPAddress)
public:
static List<IPAddress^>^ GetLocalAddresses(
bool includeIPv4 = true,
bool includeIPv6 = false
)
static member GetLocalAddresses :
?includeIPv4 : bool *
?includeIPv6 : bool
(* Defaults:
let _includeIPv4 = defaultArg includeIPv4 true
let _includeIPv6 = defaultArg includeIPv6 false
*)
-> List<IPAddress> Parameters
- includeIPv4 Boolean (Optional)
-
- includeIPv6 Boolean (Optional)
-
Return Value
ListIPAddressList of local IP addresses.
See Also