Class WiFiNetwork
Definition
- Namespace:
- Tizen.Network.WiFi
- Assembly:
- Tizen.Network.WiFi.dll
- API Level:
- 3
A class for managing the Wi-Fi network information.
public class WiFiNetwork
- Inheritance
-
WiFiNetwork
Properties
View SourceBssid
The Basic Service Set Identifier (BSSID).
Declaration
public string Bssid { get; }
Property Value
Type | Description |
---|---|
String | BSSID of the Wi-Fi. |
API Level: 3
View SourceConnectionState
The connection state.
Declaration
public WiFiConnectionState ConnectionState { get; }
Property Value
Type | Description |
---|---|
WiFiConnectionState | Represents the connection state of the Wi-Fi. |
API Level: 3
View SourceCountryCode
The raw country code.
Declaration
public string CountryCode { get; }
Property Value
Type | Description |
---|---|
String | Represents the raw country code of the Wi-Fi. |
API Level: 5
View SourceEssid
The Extended Service Set Identifier (ESSID).
Declaration
public string Essid { get; }
Property Value
Type | Description |
---|---|
String | ESSID of the Wi-Fi. |
API Level: 3
View SourceFrequency
The frequency band (MHz).
Declaration
public int Frequency { get; }
Property Value
Type | Description |
---|---|
Int32 | Represents the frequency band value. |
API Level: 3
View SourceIPv4Setting
The address information for IPv4.
Declaration
public IAddressInformation IPv4Setting { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | IP address information for IPv4 type. |
API Level: 3
View SourceIPv6Setting
The address information for IPv6.
Declaration
public IAddressInformation IPv6Setting { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | IP address information for IPv6 type. |
API Level: 3
View SourceIsFavorite
A property to check whether the access point is a favorite or not.
Declaration
public bool IsFavorite { get; }
Property Value
Type | Description |
---|---|
Boolean | Boolean value to check if the access point is a favorite or not. |
API Level: 3
View SourceIsPasspoint
A property to check whether the access point is a passpoint or not.
Declaration
public bool IsPasspoint { get; }
Property Value
Type | Description |
---|---|
Boolean | Boolean value to check if the access point is a passpoint or not. |
API Level: 3
View SourceMaxSpeed
The max speed (Mbps).
Declaration
public int MaxSpeed { get; }
Property Value
Type | Description |
---|---|
Int32 | Represents the max speed value. |
API Level: 3
View SourceProxyAddress
The proxy address.
Declaration
public string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
String | Represents the proxy address of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this property when Wi-Fi is not supported. |
ArgumentException | Thrown while setting this property due to an invalid parameter. |
InvalidOperationException | Thrown while setting this value due to an invalid operation. |
API Level: 3
View SourceProxyType
The proxy type (IPv6).
Declaration
public WiFiProxyType ProxyType { get; set; }
Property Value
Type | Description |
---|---|
WiFiProxyType | Represents the proxy type of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this property when Wi-Fi is not supported. |
ArgumentException | Thrown while setting this property due to an invalid parameter. |
InvalidOperationException | Thrown while setting this value due to an invalid operation. |
API Level: 3
View SourceRawSsid
The raw Service Set Identifier (SSID).
Declaration
public byte[] RawSsid { get; }
Property Value
Type | Description |
---|---|
Byte[] | Represents the raw SSID of the Wi-Fi. |
API Level: 5
View SourceRssi
The received signal strength indicator (RSSI).
Declaration
public int Rssi { get; }
Property Value
Type | Description |
---|---|
Int32 | Represents RSSI of Wi-Fi (dbm). |
API Level: 3
View SourceRssiLevel
The Received signal strength indication(RSSI).
Declaration
public WiFiRssiLevel RssiLevel { get; }
Property Value
Type | Description |
---|---|
WiFiRssiLevel | Represents Rssi level of WiFi. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this property when WiFi is not supported. |
API Level: 4
Feature: http://tizen.org/feature/network.wifi
Methods
View SourceGetAllIPv6Addresses()
Gets all IPv6 addresses of the access point.
Declaration
public IEnumerable<IPAddress> GetAllIPv6Addresses()
Returns
Type | Description |
---|---|
IEnumerable<IPAddress> | A list of IPv6 addresses of the access point. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceGetBssids()
Gets the Bssid list.
Declaration
public IEnumerable<string> GetBssids()
Returns
Type | Description |
---|---|
IEnumerable<String> | A list of BSSIDs of access points with the same SSID as that of this access point. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |