Class WiFiProfile
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
- API Level:
- 3
This is the WiFiProfile class. It provides functions to manage the WiFi profile.
public class WiFiProfile : ConnectionProfile, IDisposable
- Inheritance
- Implements
Properties
View SourceBssid
The BSSID (Basic Service Set Identifier).
Declaration
public string Bssid { get; }
Property Value
Type | Description |
---|---|
String | BSSID of the WiFi. |
API Level: 3
View SourceEncryptionType
The encryption type of WiFi.
Declaration
public WiFiEncryptionType EncryptionType { get; }
Property Value
Type | Description |
---|---|
WiFiEncryptionType | Encryption mode of the WiFi. |
API Level: 3
View SourceEssid
The ESSID (Extended Service Set Identifier).
Declaration
public string Essid { get; }
Property Value
Type | Description |
---|---|
String | ESSID of the WiFi. |
API Level: 3
View SourceFrequency
The frequency (MHz).
Declaration
public int Frequency { get; }
Property Value
Type | Description |
---|---|
Int32 | Frequency of the WiFi. |
API Level: 3
View SourceMaxSpeed
The max speed (Mbps).
Declaration
public int MaxSpeed { get; }
Property Value
Type | Description |
---|---|
Int32 | Maximum speed of the WiFi. |
API Level: 3
View SourcePassphraseRequired
Checks whether passphrase is required.
Declaration
public bool PassphraseRequired { get; }
Property Value
Type | Description |
---|---|
Boolean | True if a passphrase is required, otherwise false. |
Remarks
This property is not valid if WiFiSecurityType
is Eap
.
API Level: 3
View SourceRssi
The RSSI.
Declaration
public int Rssi { get; }
Property Value
Type | Description |
---|---|
Int32 | RSSI of the WiFi. |
API Level: 3
View SourceSecurityType
The security type of WiFi.
Declaration
public WiFiSecurityType SecurityType { get; }
Property Value
Type | Description |
---|---|
WiFiSecurityType | Security type of the WiFi. |
API Level: 3
View SourceWpsSupported
Checks whether the WPS (Wi-Fi Protected Setup) is supported.
Declaration
public bool WpsSupported { get; }
Property Value
Type | Description |
---|---|
Boolean | True if WPS is supported, otherwise false. |
API Level: 3
Methods
View SourceFinalize()
Destroy the WiFiProfile object
Declaration
protected void Finalize()
SetPassphrase(String)
Sets the passphrase of the Wi-Fi WPA.
Declaration
public void SetPassphrase(string passphrase)
Parameters
Type | Name | Description |
---|---|---|
String | passphrase | The passphrase of Wi-Fi security. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when a feature is not supported. |
ArgumentException | Thrown when a value is an invalid parameter. |
ArgumentNullException | Thrown when a passphrase is null. |
InvalidOperationException | Thrown when a profile instance is invalid or when a method fails due to an invalid operation. |
ObjectDisposedException | Thrown when an operation is performed on a disposed object. |