Class WiFiNetwork
Definition
- Namespace:
- Tizen.Network.WiFi
- Assembly:
- Tizen.Network.WiFi.dll
- API Level:
- 3
A class for managing the Wi-Fi network information.
C#Copypublic class WiFiNetwork
- Inheritance
-
System.ObjectWiFiNetwork
Properties
Declaration
C#Copypublic string Bssid { get; }
Property Value
Type | Description |
---|---|
System.String | BSSID of the Wi-Fi. |
API Level: 3
Declaration
C#Copypublic WiFiConnectionState ConnectionState { get; }
Property Value
Type | Description |
---|---|
WiFiConnectionState | Represents the connection state of the Wi-Fi. |
API Level: 3
Declaration
C#Copypublic string CountryCode { get; }
Property Value
Type | Description |
---|---|
System.String | Represents the raw country code of the Wi-Fi. |
API Level: 5
Declaration
C#Copypublic string Essid { get; }
Property Value
Type | Description |
---|---|
System.String | ESSID of the Wi-Fi. |
API Level: 3
Declaration
C#Copypublic int Frequency { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Represents the frequency band value. |
API Level: 3
Declaration
C#Copypublic IAddressInformation IPv4Setting { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | IP address information for IPv4 type. |
API Level: 3
Declaration
C#Copypublic IAddressInformation IPv6Setting { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | IP address information for IPv6 type. |
API Level: 3
Declaration
C#Copypublic bool IsFavorite { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Boolean value to check if the access point is a favorite or not. |
API Level: 3
Declaration
C#Copypublic bool IsPasspoint { get; }
Property Value
Type | Description |
---|---|
System.Boolean | Boolean value to check if the access point is a passpoint or not. |
API Level: 3
Declaration
C#Copypublic int MaxSpeed { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Represents the max speed value. |
API Level: 3
Declaration
C#Copypublic string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
System.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. |
API Level: 3
Declaration
C#Copypublic 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. |
API Level: 3
Declaration
C#Copypublic byte[] RawSsid { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | Represents the raw SSID of the Wi-Fi. |
API Level: 5
Declaration
C#Copypublic int Rssi { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Represents RSSI of Wi-Fi (dbm). |
API Level: 3
Declaration
C#Copypublic 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. |
API Level: 4
Feature: http://tizen.org/feature/network.wifi
Methods
Declaration
C#Copypublic IEnumerable<IPAddress> GetAllIPv6Addresses()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<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. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
Declaration
C#Copypublic IEnumerable<string> GetBssids()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.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. |