Skip to content

Commit 92db21e

Browse files
authored
Merge pull request #4048 from dotnet/stephentoub-patch-1
Remove incorrect nullable information from GetIPv4Properties
2 parents 120ac05 + 6389d09 commit 92db21e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

xml/System.Net.NetworkInformation/IPInterfaceProperties.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,11 @@
387387
<Parameters />
388388
<Docs>
389389
<summary>Provides Internet Protocol version 4 (IPv4) configuration data for this network interface.</summary>
390-
<returns>An <see cref="T:System.Net.NetworkInformation.IPv4InterfaceProperties" /> object that contains IPv4 configuration data, or <see langword="null" /> if no data is available for the interface.</returns>
390+
<returns>An <see cref="T:System.Net.NetworkInformation.IPv4InterfaceProperties" /> object that contains IPv4 configuration data.</returns>
391391
<remarks>
392392
<format type="text/markdown"><![CDATA[
393393
394394
## Remarks
395-
This property returns `null` for <xref:System.Net.NetworkInformation.NetworkInterfaceType.Loopback> interfaces.
396-
397395
For a detailed description of the information available for an interface that supports IPv4, see the <xref:System.Net.NetworkInformation.IPv4InterfaceProperties> class documentation. Note that the object returned by the <xref:System.Net.NetworkInformation.IPInterfaceProperties.GetIPv4Properties%2A> method reflects the configuration as of the time the object is created. This information is not updated dynamically.
398396
399397
]]></format>

0 commit comments

Comments
 (0)