Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IPv6MulticastOption.cs
Go to the documentation of this file.
1
namespace
System.Net.Sockets
;
2
3
public
class
IPv6MulticastOption
4
{
5
private
IPAddress
_group
;
6
7
private
long
_interface
;
8
9
public
IPAddress
Group
10
{
11
get
12
{
13
return
_group
;
14
}
15
set
16
{
17
_group
=
value
??
throw
new
ArgumentNullException
(
"value"
);
18
}
19
}
20
21
public
long
InterfaceIndex
22
{
23
get
24
{
25
return
_interface
;
26
}
27
set
28
{
29
if
(value < 0 || value > uint.MaxValue)
30
{
31
throw
new
ArgumentOutOfRangeException
(
"value"
);
32
}
33
_interface
=
value
;
34
}
35
}
36
37
public
IPv6MulticastOption
(
IPAddress
group,
long
ifindex)
38
{
39
if
(group ==
null
)
40
{
41
throw
new
ArgumentNullException
(
"group"
);
42
}
43
if
(ifindex < 0 || ifindex > uint.MaxValue)
44
{
45
throw
new
ArgumentOutOfRangeException
(
"ifindex"
);
46
}
47
_group
= group;
48
InterfaceIndex
= ifindex;
49
}
50
51
public
IPv6MulticastOption
(
IPAddress
group)
52
{
53
if
(group ==
null
)
54
{
55
throw
new
ArgumentNullException
(
"group"
);
56
}
57
_group
= group;
58
InterfaceIndex
= 0
L
;
59
}
60
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.ArgumentOutOfRangeException
Definition
ArgumentOutOfRangeException.cs:9
System.Net.IPAddress
Definition
IPAddress.cs:10
System.Net.Sockets.IPv6MulticastOption._group
IPAddress _group
Definition
IPv6MulticastOption.cs:5
System.Net.Sockets.IPv6MulticastOption.Group
IPAddress Group
Definition
IPv6MulticastOption.cs:10
System.Net.Sockets.IPv6MulticastOption.IPv6MulticastOption
IPv6MulticastOption(IPAddress group, long ifindex)
Definition
IPv6MulticastOption.cs:37
System.Net.Sockets.IPv6MulticastOption.InterfaceIndex
long InterfaceIndex
Definition
IPv6MulticastOption.cs:22
System.Net.Sockets.IPv6MulticastOption._interface
long _interface
Definition
IPv6MulticastOption.cs:7
System.Net.Sockets.IPv6MulticastOption.IPv6MulticastOption
IPv6MulticastOption(IPAddress group)
Definition
IPv6MulticastOption.cs:51
System.Net.Sockets.IPv6MulticastOption
Definition
IPv6MulticastOption.cs:4
System.Net.Sockets
Definition
AddressInfoHints.cs:1
System.ExceptionArgument.value
@ value
System.ConsoleKey.L
@ L
source
System.Net.Sockets
System.Net.Sockets
IPv6MulticastOption.cs
Generated by
1.10.0