Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
SystemGatewayIPAddressInformation.cs
Go to the documentation of this file.
2
4{
5 private readonly IPAddress _address;
6
7 public override IPAddress Address => _address;
8
10 {
11 _address = address;
12 }
13
15 {
16 GatewayIPAddressInformationCollection gatewayIPAddressInformationCollection = new GatewayIPAddressInformationCollection();
17 foreach (IPAddress address in addresses)
18 {
19 gatewayIPAddressInformationCollection.InternalAdd(new SystemGatewayIPAddressInformation(address));
20 }
21 return gatewayIPAddressInformationCollection;
22 }
23}
static GatewayIPAddressInformationCollection ToGatewayIpAddressInformationCollection(IPAddressCollection addresses)