Class WiFiConfiguration
Definition
- Assembly:
- Tizen.Network.WiFi.dll
A class for managing the configuration of Wi-Fi.
public class WiFiConfiguration : IDisposable
- Inheritance
-
objectWiFiConfiguration
- Implements
-
System.IDisposable
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 |
---|---|
System.NotSupportedException | Thrown when the Wi-Fi is not supported. |
System.UnauthorizedAccessException | Thrown when permission is denied. |
System.ArgumentNullException | Thrown when the object is constructed with name as null. |
System.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. |
Properties
View SourceEapConfiguration
EAP configuration.
Declaration
public WiFiEapConfiguration EapConfiguration { get; }
Property Value
Type | Description |
---|---|
WiFiEapConfiguration | EAP configuration assigned to the Wi-Fi. |
IsHidden
A property check whether the access point (AP) is hidden.
Declaration
public bool IsHidden { get; set; }
Property Value
Type | Description |
---|---|
bool | 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. |
Name
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. |
ProxyAddress
The proxy address.
Declaration
public string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
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. |
SecurityType
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. |
Methods
View SourceDispose()
A method to destroy the managed objects in the WiFiConfiguration.
Declaration
public void Dispose()
~WiFiConfiguration()
Destroy of the WiFiConfiguration object
Declaration
protected ~WiFiConfiguration()