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