Class WiFiConfiguration

Definition

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

A class for managing the configuration of Wi-Fi.

C#
Copy
public class WiFiConfiguration : IDisposable
Inheritance
System.Object
WiFiConfiguration
Implements
System.IDisposable

Constructors

View Source

WiFiConfiguration(String, String, WiFiSecurityType)

Creates a WiFiConfiguration object with the given name, passphrase, and securetype.

Declaration
C#
Copy
public WiFiConfiguration(string name, string passPhrase, WiFiSecurityType type)
Parameters
Type Name Description
System.String name

Name of the Wi-Fi.

System.String passPhrase

Password to access the Wi-Fi.

WiFiSecurityType type

Security type of the Wi-Fi.

Exceptions
Type Condition
System.NotSupportedException

Thrown when the Wi-Fi is not supported.

UnauthorizedAccessException

Thrown when permission is denied.

System.ArgumentNullException

Thrown when the object is constructed with name as null.

OutOfMemoryException

Thrown when the system is out of memory.

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
Privilege Level: public
Privilege: http://tizen.org/privilege/network.get
Feature: http://tizen.org/feature/network.wifi

Properties

View Source

EapConfiguration

EAP configuration.

Declaration
C#
Copy
public WiFiEapConfiguration EapConfiguration { get; }
Property Value
Type Description
WiFiEapConfiguration

EAP configuration assigned to the Wi-Fi.

API Level: 3
View Source

IsHidden

A property check whether the access point (AP) is hidden.

Declaration
C#
Copy
public bool IsHidden { get; set; }
Property Value
Type Description
Boolean

Boolean value indicating whether the AP is hidden.

Exceptions
Type Condition
System.NotSupportedException

Thrown while setting this property when the 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

Name

The name of the access point (AP).

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

Name assigned to AP in the Wi-Fi configuration.

API Level: 3
View Source

ProxyAddress

The proxy address.

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

Proxy address of the access point.

Exceptions
Type Condition
System.NotSupportedException

Thrown while setting this property 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

SecurityType

The security type of the access point (AP).

Declaration
C#
Copy
public WiFiSecurityType SecurityType { get; }
Property Value
Type Description
WiFiSecurityType

Security type of AP in the Wi-Fi configuration.

API Level: 3

Methods

View Source

Dispose()

A method to destroy the managed objects in the WiFiConfiguration.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Finalize()

Destroy of the WiFiConfiguration object

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable