aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/RequestReceivedEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/RequestReceivedEventArgs.cs')
-rw-r--r--RSSDP/RequestReceivedEventArgs.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/RSSDP/RequestReceivedEventArgs.cs b/RSSDP/RequestReceivedEventArgs.cs
index fb4fac871..03c059634 100644
--- a/RSSDP/RequestReceivedEventArgs.cs
+++ b/RSSDP/RequestReceivedEventArgs.cs
@@ -22,17 +22,18 @@ namespace Rssdp.Infrastructure
#endregion
- #region Constructors
+ public IpAddressInfo LocalIpAddress { get; private set; }
+
+ #region Constructors
/// <summary>
/// Full constructor.
/// </summary>
- /// <param name="message">The <see cref="HttpRequestMessage"/> that was received.</param>
- /// <param name="receivedFrom">A <see cref="UdpEndPoint"/> representing the sender's address (sometimes used for replies).</param>
- public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom)
+ public RequestReceivedEventArgs(HttpRequestMessage message, IpEndPointInfo receivedFrom, IpAddressInfo localIpAddress)
{
_Message = message;
_ReceivedFrom = receivedFrom;
+ LocalIpAddress = localIpAddress;
}
#endregion