AWS SDK for .NET Documentation
Hostname Property
AmazonAmazon.EC2.UtilEC2MetadataHostname Did this page help you?   Yes   No    Tell us about it...
The private hostname of the instance. In cases where multiple network interfaces are present, this refers to the eth0 device (the device for which the device number is 0).
Declaration Syntax
public static string Hostname { get; }

Assembly: AWSSDK (Module: AWSSDK) Version: (