NetworkConnectionType GetConnectionType()

Gets the current system network connection type.

Return

The NetworkConnectionType.

Remarks

This function loops through all network adapters, returning the status of the first device considered to have a valid and established connection. In the event where no adapter is connected, a fallback approach is attempted. Upon failure to accurately determine status, Unknown is returned.

Examples

None.

Requirements

KioWare for Windows version 8.18 or greater.