Class WiFiEap
Definition
- Assembly:
- Tizen.Network.WiFi.dll
A class for managing the EAP information of the access point (AP).
public class WiFiEap
- Inheritance
-
objectWiFiEap
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. |
CaCertificationFile
The file path of CA Certificate of EAP.
Declaration
public string CaCertificationFile { get; set; }
Property Value
Type | Description |
---|---|
string | CA certification file of EAP. |
EapType
The EAP type of Wi-Fi.
Declaration
public WiFiEapType EapType { get; set; }
Property Value
Type | Description |
---|---|
WiFiEapType | Type of EAP. |
Methods
View SourceGetClientCertFile()
Gets the client certificate of EAP.
Declaration
public string GetClientCertFile()
Returns
Type | Description |
---|---|
string | The file path of client certificate. |
GetPrivateKeyFile()
Gets the private key file of EAP.
Declaration
public string GetPrivateKeyFile()
Returns
Type | Description |
---|---|
string | The file path of private key. |
GetUserName()
Gets the username of EAP passphrase.
Declaration
public string GetUserName()
Returns
Type | Description |
---|---|
string | The user name |
IsPasswordSet()
Returns whether the password is set or not.
Declaration
public bool IsPasswordSet()
Returns
Type | Description |
---|---|
bool | True if password is set, false if password is not set. |
SetClientCertFile(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. |
SetPassword(string)
Sets the password of EAP.
Declaration
public void SetPassword(string password)
Parameters
Type | Name | Description |
---|---|---|
string | password | The password |
SetPrivateKeyFile(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. |
SetUserName(string)
Sets the user name of EAP.
Declaration
public void SetUserName(string userName)
Parameters
Type | Name | Description |
---|---|---|
string | userName | The user name |