Class WiFiNetwork

Definition

Namespace:
Tizen.Network.WiFi
Assembly:
Tizen.Network.WiFi.dll

A class for managing the Wi-Fi network information.

C#
Copy
public class WiFiNetwork
Inheritance
object
WiFiNetwork

Properties

View Source

Bssid

The Basic Service Set Identifier (BSSID).

Declaration
C#
Copy
public string Bssid { get; }
Property Value
Type Description
string

BSSID of the Wi-Fi.

View Source

ConnectionState

The connection state.

Declaration
C#
Copy
public WiFiConnectionState ConnectionState { get; }
Property Value
Type Description
WiFiConnectionState

Represents the connection state of the Wi-Fi.

View Source

CountryCode

The raw country code.

Declaration
C#
Copy
public string CountryCode { get; }
Property Value
Type Description
string

Represents the raw country code of the Wi-Fi.

View Source

Essid

The Extended Service Set Identifier (ESSID).

Declaration
C#
Copy
public string Essid { get; }
Property Value
Type Description
string

ESSID of the Wi-Fi.

View Source

Frequency

The frequency band (MHz).

Declaration
C#
Copy
public int Frequency { get; }
Property Value
Type Description
int

Represents the frequency band value.

View Source

IPv4Setting

The address information for IPv4.

Declaration
C#
Copy
public IAddressInformation IPv4Setting { get; }
Property Value
Type Description
IAddressInformation

IP address information for IPv4 type.

View Source

IPv6Setting

The address information for IPv6.

Declaration
C#
Copy
public IAddressInformation IPv6Setting { get; }
Property Value
Type Description
IAddressInformation

IP address information for IPv6 type.

View Source

IsFavorite

A property to check whether the access point is a favorite or not.

Declaration
C#
Copy
public bool IsFavorite { get; }
Property Value
Type Description
bool

Boolean value to check if the access point is a favorite or not.

View Source

IsPasspoint

A property to check whether the access point is a passpoint or not.

Declaration
C#
Copy
public bool IsPasspoint { get; }
Property Value
Type Description
bool

Boolean value to check if the access point is a passpoint or not.

View Source

MaxSpeed

The max speed (Mbps).

Declaration
C#
Copy
public int MaxSpeed { get; }
Property Value
Type Description
int

Represents the max speed value.

View Source

ProxyAddress

The proxy address.

Declaration
C#
Copy
public string ProxyAddress { get; set; }
Property Value
Type Description
string

Represents the proxy address of the Wi-Fi.

Exceptions
Type Condition
System.NotSupportedException

Thrown while setting this property when Wi-Fi is not supported.

System.ArgumentException

Thrown while setting this property due to an invalid parameter.

System.InvalidOperationException

Thrown while setting this value due to an invalid operation.

View Source

ProxyType

The proxy type (IPv6).

Declaration
C#
Copy
public WiFiProxyType ProxyType { get; set; }
Property Value
Type Description
WiFiProxyType

Represents the proxy type of the Wi-Fi.

Exceptions
Type Condition
System.NotSupportedException

Thrown while setting this property when Wi-Fi is not supported.

System.ArgumentException

Thrown while setting this property due to an invalid parameter.

System.InvalidOperationException

Thrown while setting this value due to an invalid operation.

View Source

RawSsid

The raw Service Set Identifier (SSID).

Declaration
C#
Copy
public byte[] RawSsid { get; }
Property Value
Type Description
byte[]

Represents the raw SSID of the Wi-Fi.

View Source

Rssi

The received signal strength indicator (RSSI).

Declaration
C#
Copy
public int Rssi { get; }
Property Value
Type Description
int

Represents RSSI of Wi-Fi (dbm).

View Source

RssiLevel

The Received signal strength indication(RSSI).

Declaration
C#
Copy
public WiFiRssiLevel RssiLevel { get; }
Property Value
Type Description
WiFiRssiLevel

Represents Rssi level of WiFi.

Exceptions
Type Condition
System.NotSupportedException

Thrown while setting this property when WiFi is not supported.

Methods

View Source

GetAllIPv6Addresses()

Gets all IPv6 addresses of the access point.

Declaration
C#
Copy
public IEnumerable<IPAddress> GetAllIPv6Addresses()
Returns
Type Description
System.Collections.Generic.IEnumerable<T><System.Net.IPAddress>

A list of IPv6 addresses of the access point.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the Wi-Fi is not supported.

System.InvalidOperationException

Thrown when the method failed due to an invalid operation.

View Source

GetBssids()

Gets the Bssid list.

Declaration
C#
Copy
public IEnumerable<string> GetBssids()
Returns
Type Description
System.Collections.Generic.IEnumerable<T><string>

A list of BSSIDs of access points with the same SSID as that of this access point.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the Wi-Fi is not supported.

System.InvalidOperationException

Thrown when the method failed due to an invalid operation.