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

◆ GetScopeId()

override long System.Net.NetworkInformation.SystemIPv6InterfaceProperties.GetScopeId ( ScopeLevel scopeLevel)
inlinevirtual

Reimplemented from System.Net.NetworkInformation.IPv6InterfaceProperties.

Definition at line 22 of file SystemIPv6InterfaceProperties.cs.

23 {
24 if (scopeLevel < ScopeLevel.None || (int)scopeLevel >= _zoneIndices.Length)
25 {
26 throw new ArgumentOutOfRangeException("scopeLevel");
27 }
28 return _zoneIndices[(int)scopeLevel];
29 }

References System.Net.NetworkInformation.SystemIPv6InterfaceProperties._zoneIndices.