HostEntry.cs 453 B

123456789101112131415161718
  1. using System.Net;
  2. namespace Renci.SshNet.IntegrationTests
  3. {
  4. public sealed class HostEntry
  5. {
  6. public HostEntry(IPAddress ipAddress, string hostName)
  7. {
  8. IPAddress = ipAddress;
  9. HostName = hostName;
  10. Aliases = new List<string>();
  11. }
  12. public IPAddress IPAddress { get; private set; }
  13. public string HostName { get; set; }
  14. public List<string> Aliases { get; }
  15. }
  16. }