Class WiFiEap
Definition
- Namespace:
- Tizen.Network.WiFi
- Assembly:
- Tizen.Network.WiFi.dll
- API Level:
- 3
A class for managing the EAP information of the access point (AP).
public class WiFiEap
- Inheritance
-
WiFiEap
Properties
View SourceAuthenticationType
The type of EAP phase 2 authentication of the Wi-Fi.
Declaration
public WiFiAuthenticationType AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
WiFiAuthenticationType | Authentication type of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this value 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 SourceCaCertificationFile
The file path of CA Certificate of EAP.
Declaration
public string CaCertificationFile { get; set; }
Property Value
Type | Description |
---|---|
String | CA certification file of EAP. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
ArgumentNullException | Thrown while setting this value when the file value is null. |
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 SourceEapType
The EAP type of Wi-Fi.
Declaration
public WiFiEapType EapType { get; set; }
Property Value
Type | Description |
---|---|
WiFiEapType | Type of EAP. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this value 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
Methods
View SourceGetClientCertFile()
Gets the client certificate of EAP.
Declaration
public string GetClientCertFile()
Returns
Type | Description |
---|---|
String | The file path of client certificate. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
InvalidOperationException | Thrown when the method failed due an to invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceGetPrivateKeyFile()
Gets the private key file of EAP.
Declaration
public string GetPrivateKeyFile()
Returns
Type | Description |
---|---|
String | The file path of private key. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
ArgumentException | Thrown when the method fails due to an invalid parameter. |
InvalidOperationException | Thrown when the method fails due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceGetUserName()
Gets the username of EAP passphrase.
Declaration
public string GetUserName()
Returns
Type | Description |
---|---|
String | The user name |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceIsPasswordSet()
Returns whether the password is set or not.
Declaration
public bool IsPasswordSet()
Returns
Type | Description |
---|---|
Boolean | True if password is set, false if password is not set. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceSetClientCertFile(String)
Sets the CA certificate of EAP.
Declaration
public void SetClientCertFile(string clientCertFile)
Parameters
Type | Name | Description |
---|---|---|
String | clientCertFile | The file path of client certificate. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the file path of client certificate is null. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceSetPassword(String)
Sets the password of EAP.
Declaration
public void SetPassword(string password)
Parameters
Type | Name | Description |
---|---|---|
String | password | The password |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the password is passed as null. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceSetPrivateKeyFile(String, String)
Sets the private key information of EAP.
Declaration
public void SetPrivateKeyFile(string privateKeyFile, string password)
Parameters
Type | Name | Description |
---|---|---|
String | privateKeyFile | The file path of private key. |
String | password | The password. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the file path of private key is null. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
InvalidOperationException | Thrown when the method failed due an to invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
View SourceSetUserName(String)
Sets the user name of EAP.
Declaration
public void SetUserName(string userName)
Parameters
Type | Name | Description |
---|---|---|
String | userName | The user name |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the user name is passed as null. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
InvalidOperationException | Thrown when the method failed due to an invalid operation. |