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

View File

@@ -59,7 +59,7 @@
</Reference>
<Reference Include="SimplSharpReflectionInterface, Version=1.0.5583.25238, Culture=neutral, PublicKeyToken=1099c178b3b54c3b, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\ProgramData\Crestron\SDK\SimplSharpReflectionInterface.dll</HintPath>
<HintPath>..\..\..\..\..\..\..\ProgramData\Crestron\SDK\SimplSharpReflectionInterface.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />