41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace System.Net.NetworkInformation
|
|
{
|
|
// Token: 0x0200015B RID: 347
|
|
internal class LinuxGatewayIPAddressInformationCollection : GatewayIPAddressInformationCollection
|
|
{
|
|
// Token: 0x06000BAD RID: 2989 RVA: 0x00023D64 File Offset: 0x00021F64
|
|
private LinuxGatewayIPAddressInformationCollection(bool isReadOnly)
|
|
{
|
|
this.is_readonly = isReadOnly;
|
|
}
|
|
|
|
// Token: 0x06000BAE RID: 2990 RVA: 0x00023D74 File Offset: 0x00021F74
|
|
public LinuxGatewayIPAddressInformationCollection(IPAddressCollection col)
|
|
{
|
|
foreach (IPAddress ipaddress in col)
|
|
{
|
|
this.Add(new GatewayIPAddressInformationImpl(ipaddress));
|
|
}
|
|
this.is_readonly = true;
|
|
}
|
|
|
|
// Token: 0x170002EF RID: 751
|
|
// (get) Token: 0x06000BB0 RID: 2992 RVA: 0x00023DF4 File Offset: 0x00021FF4
|
|
public override bool IsReadOnly
|
|
{
|
|
get
|
|
{
|
|
return this.is_readonly;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000B9B RID: 2971
|
|
public static readonly LinuxGatewayIPAddressInformationCollection Empty = new LinuxGatewayIPAddressInformationCollection(true);
|
|
|
|
// Token: 0x04000B9C RID: 2972
|
|
private bool is_readonly;
|
|
}
|
|
}
|