Interface IAddressInformation

Definition

Namespace:
Tizen.Network.Connection
Assembly:
Tizen.Network.Connection.dll
API Level:
3

This interface provides properties to manage address information of the connection.

C#
Copy
public interface IAddressInformation

Properties

View Source

DhcpLeaseDuration

The DHCP lease duration. It is only supported for the IPV4 address family.

Declaration
C#
Copy
int DhcpLeaseDuration { get; }
Property Value
Type Description
System.Int32

Lease duration of the DHCP.

API Level: 5
View Source

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.Net.IPAddress

Server address of the DHCP.

API Level: 4
View Source

Dns1

The DNS address.

Declaration
C#
Copy
IPAddress Dns1 { get; set; }
Property Value
Type Description
System.Net.IPAddress

First DNS address of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

Dns2

The DNS address.

Declaration
C#
Copy
IPAddress Dns2 { get; set; }
Property Value
Type Description
System.Net.IPAddress

Second DNS address of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

DnsConfigType

The DNS config type.

Declaration
C#
Copy
DnsConfigType DnsConfigType { get; set; }
Property Value
Type Description
DnsConfigType

Config type of the DNS.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

Gateway

The gateway address.

Declaration
C#
Copy
IPAddress Gateway { get; set; }
Property Value
Type Description
System.Net.IPAddress

Gateway address of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

IP

The IP address.

Declaration
C#
Copy
IPAddress IP { get; set; }
Property Value
Type Description
System.Net.IPAddress

IP address of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

IPConfigType

The type of IP config.

Declaration
C#
Copy
IPConfigType IPConfigType { get; set; }
Property Value
Type Description
IPConfigType

IP config type of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

PrefixLength

The prefix length.

Declaration
C#
Copy
int PrefixLength { get; set; }
Property Value
Type Description
System.Int32

Prefix length of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3
View Source

SubnetMask

The subnet mask address.

Declaration
C#
Copy
IPAddress SubnetMask { get; set; }
Property Value
Type Description
System.Net.IPAddress

Subnet mask of the connection.

Exceptions
Type Condition
System.NotSupportedException

Thrown during set when a feature is not supported.

System.ArgumentException

Thrown during set when a value is an invalid parameter.

System.InvalidOperationException

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

API Level: 3