Interface IAddressInformation
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
This interface provides properties to manage address information of the connection.
C#
Copy
public interface IAddressInformation
Properties
DhcpLeaseDuration
The DHCP lease duration. It is only supported for the IPV4 address family.
Declaration
C#
Copy
int DhcpLeaseDuration { get; }
Property Value
Type | Description |
---|---|
int | Lease duration of the DHCP. |
DhcpServerAddress
The DHCP server address. It is only supported for the IPV4 address family.
Declaration
C#
Copy
IPAddress DhcpServerAddress { get; }
Property Value
Type | Description |
---|---|
System. |
Server address of the DHCP. |
Declaration
C#
Copy
IPAddress Dns1 { get; set; }
Property Value
Type | Description |
---|---|
System. |
First DNS address of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
IPAddress Dns2 { get; set; }
Property Value
Type | Description |
---|---|
System. |
Second DNS address of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
DnsConfigType DnsConfigType { get; set; }
Property Value
Type | Description |
---|---|
Dns |
Config type of the DNS. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
IPAddress Gateway { get; set; }
Property Value
Type | Description |
---|---|
System. |
Gateway address of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
IPAddress IP { get; set; }
Property Value
Type | Description |
---|---|
System. |
IP address of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
IPConfigType IPConfigType { get; set; }
Property Value
Type | Description |
---|---|
IPConfig |
IP config type of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
int PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int | Prefix length of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
Declaration
C#
Copy
IPAddress SubnetMask { get; set; }
Property Value
Type | Description |
---|---|
System. |
Subnet mask of the connection. |
Exceptions
Type | Condition |
---|---|
System. |
Thrown during set when a feature is not supported. |
System. |
Thrown during set when a value is an invalid parameter. |
System. |
Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |