Interface IAddressInformation
Definition
- Namespace:
- Tizen.Network.Connection
- Assembly:
- Tizen.Network.Connection.dll
This interface provides properties to manage address information of the connection.
public interface IAddressInformation
Properties
View SourceDhcpServerAddress
The DHCP server address. It is only supported for the IPV4 address family.
Declaration
IPAddress DhcpServerAddress { get; }
Property Value
Type | Description |
---|---|
System.Net.IPAddress | Server address of the DHCP. |
Dns1
The DNS address.
Declaration
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. |
Dns2
The DNS address.
Declaration
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. |
DnsConfigType
The DNS config type.
Declaration
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. |
Gateway
The gateway address.
Declaration
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. |
IP
The IP address.
Declaration
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. |
IPConfigType
The type of IP config.
Declaration
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. |
PrefixLength
The prefix length.
Declaration
int PrefixLength { get; set; }
Property Value
Type | Description |
---|---|
int | 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. |
SubnetMask
The subnet mask address.
Declaration
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. |