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.
C#Copypublic class WiFiProfile : ConnectionProfile, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Properties
Declaration
C#Copypublic string Bssid { get; }
Property Value
Type | Description |
---|---|
System.String | BSSID of the WiFi. |
API Level: 3
Declaration
C#Copypublic WiFiEncryptionType EncryptionType { get; }
Property Value
Type | Description |
---|---|
WiFiEncryptionType | Encryption mode of the WiFi. |
API Level: 3
Declaration
C#Copypublic string Essid { get; }
Property Value
Type | Description |
---|---|
System.String | ESSID of the WiFi. |
API Level: 3
Declaration
C#Copypublic int Frequency { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Frequency of the WiFi. |
API Level: 3
Declaration
C#Copypublic int MaxSpeed { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Maximum speed of the WiFi. |
API Level: 3
Declaration
C#Copypublic bool PassphraseRequired { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if a passphrase is required, otherwise false. |
Remarks
This property is not valid if WiFiSecurityType
is Eap
.
API Level: 3
Declaration
C#Copypublic int Rssi { get; }
Property Value
Type | Description |
---|---|
System.Int32 | RSSI of the WiFi. |
API Level: 3
Declaration
C#Copypublic WiFiSecurityType SecurityType { get; }
Property Value
Type | Description |
---|---|
WiFiSecurityType | Security type of the WiFi. |
API Level: 3
Declaration
C#Copypublic bool WpsSupported { get; }
Property Value
Type | Description |
---|---|
System.Boolean | True if WPS is supported, otherwise false. |
API Level: 3
Methods
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic void SetPassphrase(string passphrase)
Parameters
Type | Name | Description |
---|---|---|
System.String | passphrase | The passphrase of Wi-Fi security. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when a feature is not supported. |
System.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. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
Implements
System.IDisposable