WiFiConnectionStatus Enum


Status of the connection attempt.

public enum class WiFiConnectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum WiFiConnectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiConnectionStatus
var value = Windows.Devices.WiFi.WiFiConnectionStatus.unspecifiedFailure
Public Enum WiFiConnectionStatus

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


AccessRevoked 2

Connection failed because access to the network has been revoked.

InvalidCredential 3

Connection failed because an invalid credential was presented.

NetworkNotAvailable 4

Connection failed because the network is not available.

Success 1

Connection succeeded.

Timeout 5

Connection failed because the connection attempt timed out.

UnspecifiedFailure 0

Connection failed for a reason other than those in this list.

UnsupportedAuthenticationProtocol 6

Connection failed because the authentication protocol is not supported.

Applies to

See also