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).
C#Copypublic class WiFiEap
- Inheritance
-
System.ObjectWiFiEap
Properties
Declaration
C#Copypublic WiFiAuthenticationType AuthenticationType { get; set; }
Property Value
Type | Description |
---|---|
WiFiAuthenticationType | Authentication type of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value 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 string CaCertificationFile { get; set; }
Property Value
Type | Description |
---|---|
System.String | CA certification file of EAP. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value when Wi-Fi is not supported. |
ArgumentNullException | Thrown while setting this value when the file value is null. |
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 WiFiEapType EapType { get; set; }
Property Value
Type | Description |
---|---|
WiFiEapType | Type of EAP. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown while setting this value 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
Methods
Declaration
C#Copypublic string GetClientCertFile()
Returns
Type | Description |
---|---|
System.String | The file path of client certificate. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
System.InvalidOperationException | Thrown when the method failed due an to invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
Declaration
C#Copypublic string GetPrivateKeyFile()
Returns
Type | Description |
---|---|
System.String | The file path of private key. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
System.ArgumentException | Thrown when the method fails due to an invalid parameter. |
System.InvalidOperationException | Thrown when the method fails due to an invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
Declaration
C#Copypublic string GetUserName()
Returns
Type | Description |
---|---|
System.String | The user name |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
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 bool IsPasswordSet()
Returns
Type | Description |
---|---|
System.Boolean | True if password is set, false if password is not set. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
OutOfMemoryException | Thrown when the system is out of memory. |
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 void SetClientCertFile(string clientCertFile)
Parameters
Type | Name | Description |
---|---|---|
System.String | clientCertFile | The file path of client certificate. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the file path of client certificate is null. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
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 void SetPassword(string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | password | The password |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the password is passed as null. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
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 void SetPrivateKeyFile(string privateKeyFile, string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | privateKeyFile | The file path of private key. |
System.String | password | The password. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the file path of private key is null. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when the method failed due an to invalid operation. |
API Level: 3
Feature: http://tizen.org/feature/network.wifi
Declaration
C#Copypublic void SetUserName(string userName)
Parameters
Type | Name | Description |
---|---|---|
System.String | userName | The user name |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
ArgumentNullException | Thrown when the user name is passed as null. |
System.ArgumentException | Thrown when the method failed due to an invalid parameter. |
System.InvalidOperationException | Thrown when the method failed due to an invalid operation. |