Class WiFiProfile

    Definition

    Namespace:
    Tizen.Network.Connection
    Assembly:
    Tizen.Network.Connection.dll

    This is the WiFiProfile class. It provides functions to manage the WiFi profile.

    public class WiFiProfile : ConnectionProfile, IDisposable
    Inheritance
    object
    ConnectionProfile
    WiFiProfile
    Implements
    System.IDisposable

    Properties

    View Source

    Bssid

    The BSSID (Basic Service Set Identifier).

    Declaration
    public string Bssid { get; }
    Property Value
    Type Description
    string

    BSSID of the WiFi.

    View Source

    EncryptionType

    The encryption type of WiFi.

    Declaration
    public WiFiEncryptionType EncryptionType { get; }
    Property Value
    Type Description
    WiFiEncryptionType

    Encryption mode of the WiFi.

    View Source

    Essid

    The ESSID (Extended Service Set Identifier).

    Declaration
    public string Essid { get; }
    Property Value
    Type Description
    string

    ESSID of the WiFi.

    View Source

    Frequency

    The frequency (MHz).

    Declaration
    public int Frequency { get; }
    Property Value
    Type Description
    int

    Frequency of the WiFi.

    View Source

    MaxSpeed

    The max speed (Mbps).

    Declaration
    public int MaxSpeed { get; }
    Property Value
    Type Description
    int

    Maximum speed of the WiFi.

    View Source

    PassphraseRequired

    Checks whether passphrase is required.

    Declaration
    public bool PassphraseRequired { get; }
    Property Value
    Type Description
    bool

    True if a passphrase is required, otherwise false.

    Remarks

    This property is not valid if WiFiSecurityType is Eap.

    View Source

    Rssi

    The RSSI.

    Declaration
    public int Rssi { get; }
    Property Value
    Type Description
    int

    RSSI of the WiFi.

    View Source

    SecurityType

    The security type of WiFi.

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

    Security type of the WiFi.

    View Source

    WpsSupported

    Checks whether the WPS (Wi-Fi Protected Setup) is supported.

    Declaration
    public bool WpsSupported { get; }
    Property Value
    Type Description
    bool

    True if WPS is supported, otherwise false.

    Methods

    View Source

    ~WiFiProfile()

    Destroy the WiFiProfile object

    Declaration
    protected ~WiFiProfile()
    View Source

    SetPassphrase(string)

    Sets the passphrase of the Wi-Fi WPA.

    Declaration
    public void SetPassphrase(string passphrase)
    Parameters
    Type Name Description
    string passphrase

    The passphrase of Wi-Fi security.

    Exceptions
    Type Condition
    System.NotSupportedException

    Thrown when a feature is not supported.

    System.ArgumentException

    Thrown when a value is an invalid parameter.

    System.ArgumentNullException

    Thrown when a passphrase is null.

    System.InvalidOperationException

    Thrown when a profile instance is invalid or when a method fails due to an invalid operation.

    System.ObjectDisposedException

    Thrown when an operation is performed on a disposed object.

    Implements

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