Class ConnectionProfile
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
- API Level:
- 3
This is the ConnectionProfile class. It provides event and properties of the connection profile.
C#Copypublic class ConnectionProfile : IDisposable
- Inheritance
-
ConnectionProfile
- Derived
Properties
Declaration
C#Copypublic string Id { get; }
Property Value
Type | Description |
---|---|
String | Unique ID of the profile. |
API Level: 3
Declaration
C#Copypublic string InterfaceName { get; }
Property Value
Type | Description |
---|---|
String | Network interface name, for example, eth0 and pdp0. |
API Level: 3
Declaration
C#Copypublic IAddressInformation IPv4Settings { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | Instance of IAddressInformation with IPV4 address. |
API Level: 3
Declaration
C#Copypublic IAddressInformation IPv6Settings { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | Instance of IAddressInformation with IPV6 address. |
API Level: 3
Declaration
C#Copypublic string Name { get; }
Property Value
Type | Description |
---|---|
String | User friendly name of the profile. |
API Level: 3
Declaration
C#Copypublic string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
String | Proxy address of the connection. |
API Level: 3
Declaration
C#Copypublic ProxyType ProxyType { get; set; }
Property Value
Type | Description |
---|---|
ProxyType | Proxy type of the connection. |
API Level: 3
Declaration
C#Copypublic ConnectionProfileType Type { get; }
Property Value
Type | Description |
---|---|
ConnectionProfileType | Profile type of the network connection. |
API Level: 3
Methods
Declaration
C#Copypublic void Dispose()
API Level: 3
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copypublic ProfileState GetState(AddressFamily family)
Parameters
Type | Name | Description |
---|---|---|
AddressFamily | family | The address family. |
Returns
Type | Description |
---|---|
ProfileState | The network state. |
API Level: 3
Feature: http://tizen.org/feature/network.ethernethttp://tizen.org/feature/network.telephonyhttp://tizen.org/feature/network.tethering.bluetoothhttp://tizen.org/feature/network.wifi
Declaration
C#Copypublic void Refresh()
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/network.get
Feature: http://tizen.org/feature/network.ethernethttp://tizen.org/feature/network.telephonyhttp://tizen.org/feature/network.tethering.bluetoothhttp://tizen.org/feature/network.wifi
Events
Declaration
C#Copypublic event EventHandler<ProfileStateEventArgs> ProfileStateChanged
Event Type
Type | Description |
---|---|
EventHandler<ProfileStateEventArgs> |