Crosstales.OnlineCheck.Util.NetworkInfo Class Reference
Provides extra information about the network environment. More...
Static Public Member Functions | |
static void | Refresh () |
Refresh the network information. More... | |
static System.Collections.Generic.List< NetworkInterface > | getNetworkInterfaces (bool activeOnly=true) |
Returns a list of all available network interfaces. More... | |
Static Public Attributes | |
static string | LastPublicIP => publicIpCache ?? (publicIpCache = PublicIP) |
Returns the last public IP. More... | |
static bool | isPlatformSupported => !Helper.isWebPlatform && !Helper.isWSABasedPlatform |
Indicates if NetworkInfo is supporting the current platform. More... | |
Properties | |
static string | PublicIP [get] |
Returns the public IP of the Internet connection. More... | |
static System.Collections.Generic.List< NetworkInterface > | LastNetworkInterfaces [get] |
Returns the last list of network interfaces. More... | |
Detailed Description
Provides extra information about the network environment.
Member Function Documentation
◆ getNetworkInterfaces()
|
static |
Returns a list of all available network interfaces.
- Parameters
-
activeOnly Search only for active network interfaces (optional)
- Returns
- List of network interfaces.
◆ Refresh()
|
static |
Refresh the network information.
Member Data Documentation
◆ isPlatformSupported
|
static |
Indicates if NetworkInfo is supporting the current platform.
- Returns
- True if NetworkInfo supports current platform.
◆ LastPublicIP
|
static |
Returns the last public IP.
- Returns
- Last public IP.
Property Documentation
◆ LastNetworkInterfaces
|
staticget |
Returns the last list of network interfaces.
- Returns
- Last list of network interfaces.
◆ PublicIP
|
staticget |
Returns the public IP of the Internet connection.
- Returns
- Public IP of the Internet connection.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/OnlineCheck/OnlineCheckPro/Assets/Plugins/crosstales/OnlineCheck/Scripts/Util/NetworkInfo.cs