Class WiFiConfiguration

    Definition

    Namespace:
    Tizen.Network.WiFi
    Assembly:
    Tizen.Network.WiFi.dll

    A class for managing the configuration of Wi-Fi.

    public class WiFiConfiguration : IDisposable
    Inheritance
    object
    WiFiConfiguration
    Implements
    System.IDisposable

    Constructors

    View Source

    WiFiConfiguration(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 Source

    EapConfiguration

    EAP configuration.

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

    EAP configuration assigned to the Wi-Fi.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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 Source

    Dispose()

    A method to destroy the managed objects in the WiFiConfiguration.

    Declaration
    public void Dispose()
    View Source

    ~WiFiConfiguration()

    Destroy of the WiFiConfiguration object

    Declaration
    protected ~WiFiConfiguration()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX