Class ConnectionProfile
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
This is the ConnectionProfile class. It provides event and properties of the connection profile.
public class ConnectionProfile : IDisposable
- Inheritance
-
objectConnectionProfile
- Derived
Properties
View SourceId
The profile ID.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string | Unique ID of the profile. |
InterfaceName
The name of the network interface.
Declaration
public string InterfaceName { get; }
Property Value
Type | Description |
---|---|
string | Network interface name, for example, eth0 and pdp0. |
IPv4Settings
The address information (IPv4).
Declaration
public IAddressInformation IPv4Settings { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | Instance of IAddressInformation with IPV4 address. |
IPv6Settings
The address information (IPv6).
Declaration
public IAddressInformation IPv6Settings { get; }
Property Value
Type | Description |
---|---|
IAddressInformation | Instance of IAddressInformation with IPV6 address. |
Name
The profile name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string | User friendly name of the profile. |
ProxyAddress
The proxy address.
Declaration
public string ProxyAddress { get; set; }
Property Value
Type | Description |
---|---|
string | Proxy address of the connection. |
ProxyType
The Proxy type.
Declaration
public ProxyType ProxyType { get; set; }
Property Value
Type | Description |
---|---|
ProxyType | Proxy type of the connection. |
Type
The network type.
Declaration
public ConnectionProfileType Type { get; }
Property Value
Type | Description |
---|---|
ConnectionProfileType | Profile type of the network connection. |
Methods
View SourceDispose()
Disposes the memory allocated to unmanaged resources.
Declaration
public void Dispose()
~ConnectionProfile()
Destroy the ConnectionProfile object
Declaration
protected ~ConnectionProfile()
GetState(AddressFamily)
Gets the network state.
Declaration
public ProfileState GetState(AddressFamily family)
Parameters
Type | Name | Description |
---|---|---|
AddressFamily | family | The address family. |
Returns
Type | Description |
---|---|
ProfileState | The network state. |
Refresh()
Refreshes the profile information.
Declaration
public void Refresh()
Events
View SourceProfileStateChanged
The event is called when the state of profile is changed.
Declaration
public event EventHandler<ProfileStateEventArgs> ProfileStateChanged
Event Type
Type | Description |
---|---|
EventHandler<><ProfileStateEventArgs> |