Class WiFiConfiguration
Definition
- Namespace:
- Tizen.Network.WiFi
- Assembly:
- Tizen.Network.WiFi.dll
- API Level:
- 3
A class for managing the configuration of Wi-Fi.
public class WiFiConfiguration : IDisposable
- Inheritance
-
WiFiConfiguration
- Implements
Constructors
View SourceWiFiConfiguration(String, String, WiFiSecurityType)
Creates a WiFiConfiguration object with the given name, passphrase, and securetype.
Declaration
public WiFiConfiguration(string name, string passPhrase, WiFiSecurityType type)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of the Wi-Fi. |
String | passPhrase | Password to access the Wi-Fi. |
WiFiSecurityType | type | Security type of the Wi-Fi. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the Wi-Fi is not supported. |
UnauthorizedAccessException | Thrown when permission is denied. |
ArgumentNullException | Thrown when the object is constructed with name as null. |
OutOfMemoryException | Thrown when the system is out of memory. |
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
Privilege Level: public
Privilege: http://tizen.org/privilege/network.get
Feature: http://tizen.org/feature/network.wifi
Properties
View SourceEapConfiguration
EAP configuration.
Declaration
public WiFiEapConfiguration EapConfiguration { get; }
Property Value
Type | Description |
---|---|
WiFiEapConfiguration | EAP configuration assigned to the Wi-Fi. |
API Level: 3
View SourceIsHidden
A property check whether the access point (AP) is hidden.
Declaration
public bool IsHidden { get; set; }
Property Value
Type | Description |
---|---|
Boolean | Boolean value indicating whether the AP is hidden. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this property when the 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 SourceName
The name of the access point (AP).
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | Name assigned to AP in the Wi-Fi configuration. |
API Level: 3
View SourceProxyAddress
The proxy address.
Declaration
public string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
String | Proxy address of the access point. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown while setting this property 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 SourceSecurityType
The security type of the access point (AP).
Declaration
public WiFiSecurityType SecurityType { get; }
Property Value
Type | Description |
---|---|
WiFiSecurityType | Security type of AP in the Wi-Fi configuration. |
API Level: 3
Methods
View SourceDispose()
A method to destroy the managed objects in the WiFiConfiguration.
Declaration
public void Dispose()
API Level: 3
View SourceFinalize()
Destroy of the WiFiConfiguration object
Declaration
protected void Finalize()