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.
public interface IAddressInformation
Properties
View SourceDhcpLeaseDuration
The DHCP lease duration. It is only supported for the IPV4 address family.
Declaration
int DhcpLeaseDuration { get; }
Property Value
Type | Description |
---|---|
Int32 | Lease duration of the DHCP. |
API Level: 5
View SourceDhcpServerAddress
The DHCP server address. It is only supported for the IPV4 address family.
Declaration
IPAddress DhcpServerAddress { get; }
Property Value
Type | Description |
---|---|
IPAddress | Server address of the DHCP. |
API Level: 4
View SourceDns1
The DNS address.
Declaration
IPAddress Dns1 { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | First DNS address of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceDns2
The DNS address.
Declaration
IPAddress Dns2 { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | Second DNS address of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceDnsConfigType
The DNS config type.
Declaration
DnsConfigType DnsConfigType { get; set; }
Property Value
Type | Description |
---|---|
DnsConfigType | Config type of the DNS. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceGateway
The gateway address.
Declaration
IPAddress Gateway { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | Gateway address of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceIP
The IP address.
Declaration
IPAddress IP { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | IP address of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceIPConfigType
The type of IP config.
Declaration
IPConfigType IPConfigType { get; set; }
Property Value
Type | Description |
---|---|
IPConfigType | IP config type of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourcePrefixLength
The prefix length.
Declaration
int PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
Int32 | Prefix length of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |
API Level: 3
View SourceSubnetMask
The subnet mask address.
Declaration
IPAddress SubnetMask { get; set; }
Property Value
Type | Description |
---|---|
IPAddress | Subnet mask of the connection. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown during set when a feature is not supported. |
ArgumentException | Thrown during set when a value is an invalid parameter. |
InvalidOperationException | Thrown during set when a profile instance is invalid or when a method fails due to an invalid operation. |