aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/SocketReceiveResult.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-05 18:10:56 +0200
committerBond_009 <bond.009@outlook.com>2020-04-05 18:10:56 +0200
commit30ce346f343ca61f921ec7d6faf2f06311c04e71 (patch)
tree009b45907371f10fe4c3195708287f4b464df7dd /MediaBrowser.Model/Net/SocketReceiveResult.cs
parent29539174a3de47c151cc7c7fd192100e6fbe48d7 (diff)
Enable nullabe reference types for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Net/SocketReceiveResult.cs')
-rw-r--r--MediaBrowser.Model/Net/SocketReceiveResult.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Net/SocketReceiveResult.cs b/MediaBrowser.Model/Net/SocketReceiveResult.cs
index 141ae1608..54139fe9c 100644
--- a/MediaBrowser.Model/Net/SocketReceiveResult.cs
+++ b/MediaBrowser.Model/Net/SocketReceiveResult.cs
@@ -1,4 +1,4 @@
-#pragma warning disable CS1591
+#nullable disable
using System.Net;
@@ -10,12 +10,12 @@ namespace MediaBrowser.Model.Net
public sealed class SocketReceiveResult
{
/// <summary>
- /// The buffer to place received data into.
+ /// Gets or sets the buffer to place received data into.
/// </summary>
public byte[] Buffer { get; set; }
/// <summary>
- /// The number of bytes received.
+ /// Gets or sets the number of bytes received.
/// </summary>
public int ReceivedBytes { get; set; }
@@ -23,6 +23,10 @@ namespace MediaBrowser.Model.Net
/// The <see cref="IPEndPoint"/> the data was received from.
/// </summary>
public IPEndPoint RemoteEndPoint { get; set; }
+
+ /// <summary>
+ /// The local <see cref="IPAddress"/>.
+ /// </summary>
public IPAddress LocalIPAddress { get; set; }
}
}