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#Copypublic interface IAddressInformation
Properties
DhcpLeaseDuration
The DHCP lease duration. It is only supported for the IPV4 address family.
Declaration
C#Copyint DhcpLeaseDuration { get; }
Property Value
Type | Description |
---|---|
Int32 | Lease duration of the DHCP. |
API Level: 5
DhcpServerAddress
The DHCP server address. It is only supported for the IPV4 address family.
Declaration
C#CopyIPAddress DhcpServerAddress { get; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress | Server address of the DHCP. |
API Level: 4
Declaration
C#CopyIPAddress 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
Declaration
C#CopyIPAddress 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
Declaration
C#CopyDnsConfigType 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
Declaration
C#CopyIPAddress 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
Declaration
C#CopyIPAddress 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
Declaration
C#CopyIPConfigType 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
Declaration
C#Copyint PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
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
Declaration
C#CopyIPAddress 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. |