Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Loading...
Searching...
No Matches
UnicastIPAddressInformation.cs
Go to the documentation of this file.
1
using
System.Net.Sockets
;
2
3
namespace
System.Net.NetworkInformation
;
4
5
public
abstract
class
UnicastIPAddressInformation
:
IPAddressInformation
6
{
7
public
abstract
long
AddressPreferredLifetime
{
get
; }
8
9
public
abstract
long
AddressValidLifetime
{
get
; }
10
11
public
abstract
long
DhcpLeaseLifetime
{
get
; }
12
13
public
abstract
DuplicateAddressDetectionState
DuplicateAddressDetectionState
{
get
; }
14
15
public
abstract
PrefixOrigin
PrefixOrigin
{
get
; }
16
17
public
abstract
SuffixOrigin
SuffixOrigin
{
get
; }
18
19
public
abstract
IPAddress
IPv4Mask
{
get
; }
20
21
public
virtual
int
PrefixLength
22
{
23
get
24
{
25
throw
System
.
NotImplemented
.
ByDesignWithMessage
(
System
.
SR
.
net_PropertyNotImplementedException
);
26
}
27
}
21
public
virtual
int
PrefixLength
{
…
};
28
29
internal
static
IPAddress
PrefixLengthToSubnetMask
(
byte
prefixLength,
AddressFamily
family)
30
{
31
Span<byte>
span = ((family !=
AddressFamily
.InterNetwork) ? stackalloc
byte
[16] : stackalloc
byte
[4]);
32
Span<byte>
span2 = span;
33
span2.
Clear
();
34
for
(
int
i = 0; i < prefixLength; i++)
35
{
36
span2[i / 8] |= (byte)(128 >> i % 8);
37
}
38
return
new
IPAddress
(span2);
39
}
29
internal
static
IPAddress
PrefixLengthToSubnetMask
(
byte
prefixLength,
AddressFamily
family) {
…
}
40
}
5
public
abstract
class
UnicastIPAddressInformation
:
IPAddressInformation
{
…
};
System.Net.IPAddress
Definition
IPAddress.cs:10
System.Net.NetworkInformation.IPAddressInformation
Definition
IPAddressInformation.cs:4
System.Net.NetworkInformation.UnicastIPAddressInformation.AddressValidLifetime
long AddressValidLifetime
Definition
UnicastIPAddressInformation.cs:9
System.Net.NetworkInformation.UnicastIPAddressInformation.PrefixLength
virtual int PrefixLength
Definition
UnicastIPAddressInformation.cs:22
System.Net.NetworkInformation.UnicastIPAddressInformation.IPv4Mask
IPAddress IPv4Mask
Definition
UnicastIPAddressInformation.cs:19
System.Net.NetworkInformation.UnicastIPAddressInformation.DhcpLeaseLifetime
long DhcpLeaseLifetime
Definition
UnicastIPAddressInformation.cs:11
System.Net.NetworkInformation.UnicastIPAddressInformation.PrefixLengthToSubnetMask
static IPAddress PrefixLengthToSubnetMask(byte prefixLength, AddressFamily family)
Definition
UnicastIPAddressInformation.cs:29
System.Net.NetworkInformation.UnicastIPAddressInformation.AddressPreferredLifetime
long AddressPreferredLifetime
Definition
UnicastIPAddressInformation.cs:7
System.Net.NetworkInformation.UnicastIPAddressInformation
Definition
UnicastIPAddressInformation.cs:6
System.NotImplemented.ByDesignWithMessage
static Exception ByDesignWithMessage(string message)
Definition
NotImplemented.cs:5
System.NotImplemented
Definition
NotImplemented.cs:4
System.SR.net_PropertyNotImplementedException
static string net_PropertyNotImplementedException
Definition
SR.cs:80
System.SR
Definition
SR.cs:7
System.Net.NetworkInformation.DuplicateAddressDetectionState
DuplicateAddressDetectionState
Definition
DuplicateAddressDetectionState.cs:4
System.Net.NetworkInformation.PrefixOrigin
PrefixOrigin
Definition
PrefixOrigin.cs:4
System.Net.NetworkInformation.SuffixOrigin
SuffixOrigin
Definition
SuffixOrigin.cs:4
System.Net.NetworkInformation
Definition
DuplicateAddressDetectionState.cs:1
System.Net.Sockets.AddressFamily
AddressFamily
Definition
AddressFamily.cs:4
System.Net.Sockets
Definition
AddressInfoHints.cs:1
System
Definition
BlockingCollection.cs:8
System.Span.Clear
unsafe void Clear()
Definition
Span.cs:198
System.Span
Definition
Span.cs:14
source
System.Net.NetworkInformation
System.Net.NetworkInformation
UnicastIPAddressInformation.cs
Generated by
1.10.0