4 instantiations of PhysicalAddress
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\LinuxNetworkInterface.cs (1)
106
lni._physicalAddress = new
PhysicalAddress
(new ReadOnlySpan<byte>(nii->AddressBytes, nii->NumAddressBytes).ToArray());
System\Net\NetworkInformation\PhysicalAddress.cs (2)
14
public static readonly PhysicalAddress None = new
PhysicalAddress
(Array.Empty<byte>());
199
value = new
PhysicalAddress
(buffer);
System\Net\NetworkInformation\UnixNetworkInterface.cs (1)
106
PhysicalAddress physicalAddress = new
PhysicalAddress
(macAddress);
14 references to PhysicalAddress
netstandard (1)
netstandard.cs (1)
1218
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.
PhysicalAddress
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
710
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.NetworkInformation.
PhysicalAddress
))]
System.Net.NetworkInformation (12)
System\Net\NetworkInformation\NetworkInterface.cs (1)
115
public virtual
PhysicalAddress
GetPhysicalAddress()
System\Net\NetworkInformation\PhysicalAddress.cs (7)
14
public static readonly
PhysicalAddress
None = new PhysicalAddress(Array.Empty<byte>());
61
comparand is
PhysicalAddress
other &&
76
public static
PhysicalAddress
Parse(string? address) => address != null ? Parse(address.AsSpan()) : None;
78
public static
PhysicalAddress
Parse(ReadOnlySpan<char> address)
80
if (!TryParse(address, out
PhysicalAddress
? value))
86
public static bool TryParse(string? address, [NotNullWhen(true)] out
PhysicalAddress
? value)
97
public static bool TryParse(ReadOnlySpan<char> address, [NotNullWhen(true)] out
PhysicalAddress
? value)
System\Net\NetworkInformation\UnixNetworkInterface.cs (4)
14
internal
PhysicalAddress
_physicalAddress =
PhysicalAddress
.None;
33
public sealed override
PhysicalAddress
GetPhysicalAddress() { return _physicalAddress; }
106
PhysicalAddress
physicalAddress = new PhysicalAddress(macAddress);