WifiStatusResponse
Namespace: Busy.Bar
Only WifiStatusResponse.State is always present; the rest are only populated when connected.
public sealed record class WifiStatusResponse : System.IEquatable`1[[Busy.Bar.WifiStatusResponse, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → WifiStatusResponse
Implements IEquatable<WifiStatusResponse>
Attributes NullableContextAttribute, NullableAttribute
Properties
State
Current connection state.
public WifiConnState State { get; init; }
Property Value
Ssid
SSID of the connected network.
public string? Ssid { get; init; }
Property Value
Bssid
BSSID (access point MAC address) of the connected network.
public string? Bssid { get; init; }
Property Value
Channel
Wi-Fi channel in use.
public int? Channel { get; init; }
Property Value
Rssi
Received signal strength, in dBm.
public int? Rssi { get; init; }
Property Value
Security
Security method of the connected network.
public WifiSecurityMethod? Security { get; init; }
Property Value
IpConfig
IP configuration of the connection.
public WifiStatusIpConfig? IpConfig { get; init; }
Property Value
Constructors
WifiStatusResponse(WifiConnState, String, String, Int32?, Int32?, WifiSecurityMethod?, WifiStatusIpConfig)
Only WifiStatusResponse.State is always present; the rest are only populated when connected.
public WifiStatusResponse(WifiConnState State, string? Ssid, string? Bssid, int? Channel, int? Rssi, WifiSecurityMethod? Security, WifiStatusIpConfig? IpConfig)
Parameters
State WifiConnState
Current connection state.
Ssid String?
SSID of the connected network.
Bssid String?
BSSID (access point MAC address) of the connected network.
Channel Int32?
Wi-Fi channel in use.
Rssi Int32?
Received signal strength, in dBm.
Security WifiSecurityMethod?
Security method of the connected network.
IpConfig WifiStatusIpConfig?
IP configuration of the connection.