Class WiFiEapConfiguration

Definition

Namespace:
Tizen.Network.WiFi
Assembly:
Tizen.Network.WiFi.dll
API Level:
3

A class for managing the EAP configuration.

C#
Copy
public class WiFiEapConfiguration
Inheritance
System.Object
WiFiEapConfiguration

Properties

View Source

AnonymousIdentify

The anonymous identity of the access point (AP).

Declaration
C#
Copy
public string AnonymousIdentify { get; set; }
Property Value
Type Description
System.String

Represents the anonymous identity of the access point.

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
View Source

AuthenticationType

The type of EAP phase2 authentication of the Wi-Fi.

Declaration
C#
Copy
public 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
View Source

CaCertificationFile

The file path of CA certificate of EAP.

Declaration
C#
Copy
public 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.

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
View Source

EapType

The EAP type of the Wi-Fi.

Declaration
C#
Copy
public 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
View Source

Identity

The identity of the access point (AP).

Declaration
C#
Copy
public string Identity { get; set; }
Property Value
Type Description
System.String

Represents the identity of the access point.

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
View Source

SubjectMatch

The subject match of the access point (AP).

Declaration
C#
Copy
public string SubjectMatch { get; set; }
Property Value
Type Description
System.String

Represents the subject match of the AP.

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

View Source

GetClientCertFile()

Gets the access point client certificate file from the configuration.

Declaration
C#
Copy
public string GetClientCertFile()
Returns
Type Description
System.String

The certification authority (CA) certificates file of the access point.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the Wi-Fi is not supported.

System.InvalidOperationException

Thrown when the method failed due to an invalid operation.

API Level: 3
Feature: http://tizen.org/feature/network.wifi
View Source

SetClientCertFile(String, String)

Sets the access point client certificate file to configuration.

Declaration
C#
Copy
public void SetClientCertFile(string privateKey, string clientCert)
Parameters
Type Name Description
System.String privateKey

The private key file.

System.String clientCert

The certification authority(CA) certifies the files of access points.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the Wi-Fi is not supported.

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