/// <summary>
/// This Class is CellularProfile. It provides functions to manage the cellular profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class CellularProfile : ConnectionProfile
{
private CellularAuthInformation AuthInfo;
/// <summary>
/// The APN (access point name).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular access point name.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The home URL.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular home URL.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The service type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular service type.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The cellular pdn type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular pdn type.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The cellular roaming pdn type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular roaming pdn type.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// Cellular Authentication Information.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Instance of CellularAuthInformation.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// Checks whether the profile is hidden.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>True if the cellular profile is hidden, otherwise false.</value>
public bool Hidden
{
/// <summary>
/// Checks whether the profile is editable.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>True if the cellular profile is editable, otherwise false.</value>
public bool Editable
{
/// <summary>
/// Checks whether the profile is default.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>True if the cellular profile is default, otherwise false.</value>
public bool IsDefault
{
/// <summary>
/// This Class is CellularAuthInformation. It provides the properties to get and set the cellular authentication information.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class CellularAuthInformation
{
private IntPtr ProfileHandle;
/// <summary>
/// The user name.
+ /// <since_tizen> 3 </since_tizen>
/// </summary>
/// <value>Cellular user name.</value>
public string UserName
/// <summary>
/// The password
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular password.</value>
public string Password
{
/// <summary>
/// The authentication type
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular authentication type.</value>
public CellularAuthType AuthType
{
/// <summary>
/// This class is ConnectionManager. It provides functions to manage data connections.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static class ConnectionManager
{
private static ConnectionItem _currentConnection = null;
/// <summary>
/// Event that is called when the type of the current connection is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <summary>
/// Event for ethernet cable is plugged [in/out] event.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
public static event EventHandler EthernetCableStateChanged
/// <summary>
/// Event that is called when the IP address is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <summary>
/// Event that is called when the proxy address is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <summary>
/// Gets the connection handle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Instance of SafeConnectionHandle</returns>
[EditorBrowsable(EditorBrowsableState.Never)]
public static SafeConnectionHandle GetConnectionHandle()
/// <summary>
/// Gets the IP address of the current connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="family">The address family</param>
/// <returns>IP address of the connection (global address in case of IPv6).</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets the all IPv6 addresses of the current connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The type of current network connection</param>
/// <returns>A list of IPv6 addresses of the connection.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets the proxy address of the current connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="family">The address family</param>
/// <returns>Proxy address of the connection.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets the MAC address of the Wi-Fi or ethernet.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The type of current network connection</param>
/// <returns>MAC address of the Wi-Fi or ethernet.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets the statistics information.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="connectionType">The type of connection (only WiFi and Cellular are supported)</param>
/// <param name="statisticsType">The type of statistics</param>
/// <returns>The statistics information associated with statisticsType</returns>
/// <summary>
/// Resets the statistics information.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="connectionType">The type of connection (only WiFi and Cellular are supported)</param>
/// <param name="statisticsType">The type of statistics</param>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Type and state of the current profile for data connection
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Instance of ConnectionItem</value>
public static ConnectionItem CurrentConnection
{
/// <summary>
/// Creates a cellular profile handle.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The type of profile. Cellular profile type is supported.</param>
/// <param name="keyword">The keyword included in profile name.</param>
/// <returns>CellularProfile object</returns>
/// <summary>
/// The state of cellular connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Cellular network state.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public static CellularState CellularState
/// <summary>
/// The state of the Wi-Fi.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>WiFi connection state.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public static ConnectionState WiFiState
/// <summary>
/// The state of the Bluetooth.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Bluetooth connection state.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public static ConnectionState BluetoothState
/// <summary>
/// The Ethernet connection state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Ethernet connection state.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public static ConnectionState EthernetState
/// <summary>
/// Checks for ethernet cable is attached or not.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Ethernet cable state.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public static EthernetCableState EthernetCableState
/// <summary>
/// This class contains connection information such as connection type and state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class ConnectionItem
{
internal ConnectionItem()
/// <summary>
/// The type of the current profile for data connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Data connection current profile.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public ConnectionType Type
/// <summary>
/// The state of the current profile for data connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Connection state of the current connection type.</value>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
public ConnectionState State
/// <summary>
/// An extended EventArgs class which contains changed connection type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class ConnectionTypeEventArgs : EventArgs
{
private ConnectionType Type = ConnectionType.Disconnected;
/// <summary>
/// The connection type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Type of the connection.</value>
public ConnectionType ConnectionType
{
/// <summary>
/// An extended EventArgs class which contains changed ethernet cable state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class EthernetCableStateEventArgs : EventArgs
{
private EthernetCableState State;
/// <summary>
/// The ethernet cable state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Attached or detached state of the ethernet cable.</value>
public EthernetCableState EthernetCableState
{
/// <summary>
/// An extended EventArgs class which contains changed address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class AddressEventArgs : EventArgs
{
private string IPv4 = "";
/// <summary>
/// The IPV4 address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>IP address in the format of IPV4 syntax.</value>
public string IPv4Address
{
/// <summary>
/// The IPV6 address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>IP address in the format of IPV6 syntax.</value>
public string IPv6Address
{
/// <summary>
/// This Class is ConnectionProfile. It provides event and propeties of the connection profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class ConnectionProfile : IDisposable
{
internal IntPtr ProfileHandle = IntPtr.Zero;
/// <summary>
/// The event that is called when the state of profile is changed.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <feature>http://tizen.org/feature/network.tethering.bluetooth</feature>
/// <summary>
/// Disposes the memory allocated to unmanaged resources.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public void Dispose()
{
Dispose(true);
/// <summary>
/// The profile ID.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Unique ID of the profile.</value>
public string Id
{
/// <summary>
/// The profile name.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>User friendly name of the profile.</value>
public string Name
{
/// <summary>
/// The network type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Profile type of the network connection.</value>
public ConnectionProfileType Type
{
/// <summary>
/// The name of the network interface.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Network interface name, e.g. eth0 and pdp0.</value>
public string InterfaceName
{
/// <summary>
/// Refreshes the profile information.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <summary>
/// Get the network state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="family">The address family</param>
/// <returns>The network state.</returns>
/// <feature>http://tizen.org/feature/network.ethernet</feature>
/// <summary>
/// The Proxy type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Proxy type of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The proxy address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Proxy address of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The address information (IPv4)
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Instance of IAddressInformation with IPV4 address.</value>
public IAddressInformation IPv4Settings
{
/// <summary>
/// The address information (IPv6)
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Instance of IAddressInformation with IPV6 address.</value>
public IAddressInformation IPv6Settings
{
/// <summary>
/// An extended EventArgs class which contains changed profile state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class ProfileStateEventArgs : EventArgs
{
private ProfileState _State = ProfileState.Disconnected;
/// <summary>
/// The profile state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>State type of the connection profile.</value>
public ProfileState State
{
/// <summary>
/// This class is ConnectionProfileManager. It provides functions to add, get, connect or modify the connection profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public static class ConnectionProfileManager
{
/// <summary>
/// Adds a new profile
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="profile">The cellular profile object</param>
/// <privilege>http://tizen.org/privilege/network.profile</privilege>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Gets the list of profile with profile list type
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The type of profile</param>
/// <returns>List of connection profile objects.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Opens a connection of profile, asynchronously.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="profile">The connection profile object</param>
/// <returns>A task indicates whether the ConnectProfileAsync method is done successfully or not.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Closes a connection of profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="profile">The connection profile object</param>
/// <returns>A task indicates whether the DisconnectProfileAsync method is done successfully or not.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Removes an existing profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="profile">The connection profile object</param>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <privilege>http://tizen.org/privilege/network.profile</privilege>
/// When a profile is changed, these changes will be not applied to the ConnectionProfileManager immediately.
/// When you call this function, your changes affect the ConnectionProfileManager and the existing profile is updated.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="profile">The connection profile object</param>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <privilege>http://tizen.org/privilege/network.profile</privilege>
/// <summary>
/// Gets the name of the default profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <returns>Connection profile object.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <feature>http://tizen.org/feature/network.telephony</feature>
/// <summary>
/// Gets the default profile which provides the given cellular service.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The cellular service type</param>
/// <returns>Connection profile object.</returns>
/// <privilege>http://tizen.org/privilege/network.get</privilege>
/// <summary>
/// Sets the default profile which provides the given cellular service.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="type">The cellular service type</param>
/// <param name="profile">The connection profile object</param>
/// <returns>A task indicates whether the SetDefaultCellularProfile method is done successfully or not.</returns>
/// <summary>
/// An extended EventArgs class which contains the state of changed connection profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class ConnectionProfileStateEventArgs : EventArgs
{
private ConnectionProfileState State;
/// <summary>
/// The connection profile state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>State of the connection profile.</value>
public ConnectionProfileState ConnectionProfileState
{
/// <summary>
/// Enumeration for connection type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ConnectionType
{
Disconnected = 0, /**< Disconnected */
/// <summary>
/// Enumeration for address family.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum AddressFamily
{
IPv4 = 0, /**< IPv4 Address */
/// <summary>
/// Enumeration for cellular network state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CellularState
{
OutOfService = 0, /**< Out of service */
/// <summary>
/// Enumeration for connection state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ConnectionState
{
Deactivated = 0, /**< Deactivated */
/// <summary>
/// This enumeration defines the attached or detached state of ethernet cable.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum EthernetCableState
{
Detached = 0, /**< Ethernet cable is detached */
/// <summary>
/// Enumeration for statistics type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum StatisticsType
{
LastReceivedData = 0, /**< Last received data */
/// <summary>
/// Enumeration for network connection type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ConnectionProfileType
{
Cellular = 0, /**< Cellular type */
/// <summary>
/// Enumeration for profile state type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ProfileState
{
Disconnected = 0, /**< Disconnected state */
/// <summary>
/// Enumeration for proxy method type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ProxyType
{
Direct = 0, /**< Direct connection */
/// <summary>
/// Enumeration for IP configuration type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum IPConfigType
{
None = 0, /**< Not defined */
/// <summary>
/// Enumeration for cellular service type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CellularServiceType
{
Unknown = 0, /**< Unknown */
/// <summary>
/// Enumeration for cellular pdn type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CellularPdnType
{
Unknown = 0, /**< Unknown */
/// <summary>
/// Enumeration for DNS configuration type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum DnsConfigType
{
None = 0, /**< Not defined */
/// <summary>
/// Enumeration for connection errors.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
// To do : have to assign valid error code
public enum ConnectionError
{
/// <summary>
/// Enumeration for profile list type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ProfileListType
{
Registered = 0, /**< The iterator of the registered profile */
/// <summary>
/// Enumeration for security type of Wi-Fi.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WiFiSecurityType
{
None = 0, /**< Security disabled */
/// <summary>
/// Enumeration for encryption modes.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum WiFiEncryptionType
{
None = 0, /**< Encryption disabled */
/// <summary>
/// Enumeration for connection profile state.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum ConnectionProfileState
{
Disconnected = 0, /**< Disconnected state */
/// <summary>
/// Enumeration for cellular authentication type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public enum CellularAuthType
{
None = 0, /**< No authentication */
/// <summary>
/// This interface provides properties to manage address information of the connection.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public interface IAddressInformation
{
/// <summary>
/// The DNS address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>First DNS address of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The DNS address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Second DNS address of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The gateway address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Gateway address of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The subnet mask address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Subnet mask of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The IP address.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>IP address of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The type of IP config.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>IP config type of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The prefix length.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Prefix length of the connection.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// The DNS config type.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Config type of the DNS.</value>
/// <exception cref="System.NotSupportedException">Thrown during set when feature is not supported.</exception>
/// <exception cref="System.ArgumentException">Thrown during set when value is invalid parameter.</exception>
/// <summary>
/// This Class is WiFiProfile. It provides functions to manage the WiFi profile.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
public class WiFiProfile : ConnectionProfile
{
internal WiFiProfile(IntPtr Handle) : base(Handle)
/// <summary>
/// The ESSID (Extended Service Set Identifier).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>ESSID of the WiFi.</value>
public string Essid
{
/// <summary>
/// The BSSID (Basic Service Set Identifier).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>BSSID of the WiFi.</value>
public string Bssid
{
/// <summary>
/// The RSSI.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>RSSI of the WiFi.</value>
public int Rssi
{
/// <summary>
/// The frequency (MHz).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Frequency of the WiFi.</value>
public int Frequency
{
/// <summary>
/// The max speed (Mbps).
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Maximum speed of the WiFi.</value>
public int MaxSpeed
{
/// <summary>
/// The security type of WiFi.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Security type of the WiFi.</value>
public WiFiSecurityType SecurityType
{
/// <summary>
/// The encryption type of WiFi.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>Encryption mode of the WiFi.</value>
public WiFiEncryptionType EncryptionType
{
/// <summary>
/// Checks whether passphrase is required.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>True if a passphrase is required, otherwise false.</value>
/// <remarks>This property is not valid if <c>WiFiSecurityType</c> is <c>Eap</c>.</remarks>
public bool PassphraseRequired
/// <summary>
/// Checks whether the WPS (Wi-Fi Protected Setup) is supported.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <value>True if WPS is supported, otherwise false.</value>
public bool WpsSupported
{
/// <summary>
/// Sets the passphrase of the Wi-Fi WPA.
/// </summary>
+ /// <since_tizen> 3 </since_tizen>
/// <param name="passphrase">The passphrase of Wi-Fi security</param>
/// <feature>http://tizen.org/feature/network.wifi</feature>
/// <exception cref="System.NotSupportedException">Thrown when feature is not supported.</exception>