|
46 | 46 | |socketOptionName|<xref:System.Net.Sockets.SocketOptionName.AddMembership>|
|
47 | 47 | |object|<xref:System.Net.Sockets.MulticastOption>|
|
48 | 48 |
|
49 |
| - Use <xref:System.Net.Sockets.SocketOptionName.DropMembership> to drop a multicast group. |
50 |
| - |
51 |
| - |
| 49 | + Use <xref:System.Net.Sockets.SocketOptionName.DropMembership> to drop a multicast group. |
52 | 50 |
|
53 | 51 | ## Examples
|
54 | 52 | The following examples join the default IP interface to an IP multicast group. They assume the IP multicast group address in the range 224.0.0.0 to 239.255.255.255.
|
|
107 | 105 | <Parameter Name="group" Type="System.Net.IPAddress" />
|
108 | 106 | </Parameters>
|
109 | 107 | <Docs>
|
110 |
| - <param name="group">The <see cref="T:System.Net.IPAddress" /> of the multicast group.</param> |
| 108 | + <param name="group">The IP address of the multicast group.</param> |
111 | 109 | <summary>Initializes a new version of the <see cref="T:System.Net.Sockets.MulticastOption" /> class for the specified IP multicast group.</summary>
|
112 | 110 | <remarks>
|
113 | 111 | <format type="text/markdown"><![CDATA[
|
|
153 | 151 | <Parameter Name="interfaceIndex" Type="System.Int32" Index="1" FrameworkAlternate="net-5.0;netcore-1.0;netcore-1.1;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netstandard-1.3;netstandard-1.4;netstandard-1.6;netstandard-2.0;netstandard-2.1;xamarinandroid-7.1;xamarinios-10.8;xamarinmac-3.0" />
|
154 | 152 | </Parameters>
|
155 | 153 | <Docs>
|
156 |
| - <param name="group">The <see cref="T:System.Net.IPAddress" /> of the multicast group.</param> |
157 |
| - <param name="interfaceIndex">The index of the interface that is used to send and receive multicast packets.</param> |
| 154 | + <param name="group">The IP address of the multicast group.</param> |
| 155 | + <param name="interfaceIndex">The index of the interface that's used to send and receive multicast packets.</param> |
158 | 156 | <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.MulticastOption" /> class with the specified IP multicast group address and interface index.</summary>
|
159 | 157 | <remarks>To be added.</remarks>
|
160 | 158 | </Docs>
|
|
192 | 190 | <Parameter Name="mcint" Type="System.Net.IPAddress" />
|
193 | 191 | </Parameters>
|
194 | 192 | <Docs>
|
195 |
| - <param name="group">The group <see cref="T:System.Net.IPAddress" />.</param> |
196 |
| - <param name="mcint">The local <see cref="T:System.Net.IPAddress" />.</param> |
| 193 | + <param name="group">The group IP address.</param> |
| 194 | + <param name="mcint">The local IP address.</param> |
197 | 195 | <summary>Initializes a new instance of the <see cref="T:System.Net.Sockets.MulticastOption" /> class with the specified IP multicast group address and local IP address associated with a network interface.</summary>
|
198 | 196 | <remarks>
|
199 | 197 | <format type="text/markdown"><![CDATA[
|
200 | 198 |
|
201 | 199 | ## Remarks
|
202 |
| - For machines with multiple network cards, you must use this constructor to create <xref:System.Net.Sockets.MulticastOption> instances. |
203 |
| - |
204 |
| - |
| 200 | + For machines with multiple network cards, you must use this constructor to create <xref:System.Net.Sockets.MulticastOption> instances. |
205 | 201 |
|
206 | 202 | ## Examples
|
207 | 203 | The following example creates a <xref:System.Net.Sockets.MulticastOption> object.
|
|
263 | 259 | </ReturnValue>
|
264 | 260 | <Docs>
|
265 | 261 | <summary>Gets or sets the IP address of a multicast group.</summary>
|
266 |
| - <value>An <see cref="T:System.Net.IPAddress" /> that contains the Internet address of a multicast group.</value> |
| 262 | + <value>The IP address of a multicast group.</value> |
267 | 263 | <remarks>
|
268 | 264 | <format type="text/markdown"><![CDATA[
|
269 | 265 |
|
270 | 266 | ## Remarks
|
271 |
| - Valid IP addresses for multicast packets are in the range 224.0.0.0 to 239.255.255.255. |
272 |
| - |
273 |
| - |
| 267 | + Valid IP addresses for multicast packets are in the range 224.0.0.0 to 239.255.255.255. |
274 | 268 |
|
275 | 269 | ## Examples
|
276 | 270 | The following example displays the value of this property.
|
|
322 | 316 | <ReturnType>System.Int32</ReturnType>
|
323 | 317 | </ReturnValue>
|
324 | 318 | <Docs>
|
325 |
| - <summary>Gets or sets the index of the interface that is used to send and receive multicast packets.</summary> |
326 |
| - <value>An integer that represents the index of a <see cref="T:System.Net.NetworkInformation.NetworkInterface" /> array element.</value> |
| 319 | + <summary>Gets or sets the index of the interface that's used to send and receive multicast packets.</summary> |
| 320 | + <value>The index of a <see cref="T:System.Net.NetworkInformation.NetworkInterface" /> array element.</value> |
327 | 321 | <remarks>To be added.</remarks>
|
328 | 322 | </Docs>
|
329 | 323 | </Member>
|
|
367 | 361 | </ReturnValue>
|
368 | 362 | <Docs>
|
369 | 363 | <summary>Gets or sets the local address associated with a multicast group.</summary>
|
370 |
| - <value>An <see cref="T:System.Net.IPAddress" /> that contains the local address associated with a multicast group.</value> |
| 364 | + <value>The local address associated with a multicast group.</value> |
371 | 365 | <remarks>
|
372 | 366 | <format type="text/markdown"><![CDATA[
|
373 | 367 |
|
374 | 368 | ## Remarks
|
375 |
| - The <xref:System.Net.Sockets.MulticastOption.LocalAddress%2A> property contains the IP address of the interface associated with the multicast group membership. If <xref:System.Net.Sockets.MulticastOption.LocalAddress%2A> is set to <xref:System.Net.IPAddress.Any>, the default interface is used. |
376 |
| - |
377 |
| - |
| 369 | + The <xref:System.Net.Sockets.MulticastOption.LocalAddress%2A> property contains the IP address of the interface associated with the multicast group membership. If <xref:System.Net.Sockets.MulticastOption.LocalAddress%2A> is set to <xref:System.Net.IPAddress.Any>, the default interface is used. |
378 | 370 |
|
379 | 371 | ## Examples
|
380 | 372 | The following example displays the value of this property.
|
|
0 commit comments