Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Parse() [1/2]

static PhysicalAddress System.Net.NetworkInformation.PhysicalAddress.Parse ( ReadOnlySpan< char > address)
inlinestatic

Definition at line 93 of file PhysicalAddress.cs.

94 {
95 if (!TryParse(address, out PhysicalAddress value))
96 {
97 throw new FormatException(System.SR.Format(System.SR.net_bad_mac_address, new string(address)));
98 }
99 return value;
100 }
static bool TryParse(string? address, [NotNullWhen(true)] out PhysicalAddress? value)
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string net_bad_mac_address
Definition SR.cs:18
Definition SR.cs:7

References System.SR.Format(), System.SR.net_bad_mac_address, System.Net.NetworkInformation.PhysicalAddress.TryParse(), and System.value.