AWS SDK for .NET Documentation
NetworkInterface Class
AmazonAmazon.EC2.UtilNetworkInterface Did this page help you?   Yes   No    Tell us about it...
All of the metadata associated with a network interface on the instance.
Declaration Syntax
C#
public class NetworkInterface
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
NetworkInterface(String)
Initializes a new instance of the NetworkInterface class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetIpV4Association(String)
Get the private IPv4 address(es) that are associated with the public-ip address and assigned to that interface.

GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
LocalHostname
The interface's local hostname.

LocalIPv4s
The private IP addresses associated with the interface.

MacAddress
The interface's Media Access Control (mac) address.

OwnerId
The ID of the owner of the network interface.

Profile
The interface's profile

PublicHostname
The interface's public hostname.

PublicIPv4s
The elastic IP addresses associated with the interface.

SecurityGroupIds
IDs of the security groups to which the network interface belongs. Returned only for Amazon EC2 instances launched into a VPC.

SecurityGroups
Security groups to which the network interface belongs.

SubnetId
The ID of the Amazon EC2-VPC subnet in which the interface resides.

SubnetIPv4CidrBlock
The CIDR block of the Amazon EC2-VPC subnet in which the interface resides.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
The CIDR block of the Amazon EC2-VPC subnet in which the interface resides.

Inheritance Hierarchy
Object
NetworkInterface

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)