Adds a getter in GenericUdpServer for the UdpServer property IPAddressLastMessageReceivedFrom

This commit is contained in:
Jason T Alborough
2019-04-19 11:31:59 -04:00
parent 2bf12027b5
commit 73b9cd8c31
2 changed files with 11 additions and 2 deletions

View File

@@ -42,7 +42,16 @@ namespace PepperDash.Core
/// <summary>
/// Address of server
/// </summary>
public string Hostname { get; set; }
public string Hostname { get; set; }
/// <summary>
/// IP Address of the sender of the last recieved message
/// </summary>
public string LastMessageReceivedFrom
{
get { return Server.IPAddressLastMessageReceivedFrom; }
}
/// <summary>
/// Port on server