70 lines
2.0 KiB
C#
70 lines
2.0 KiB
C#
using System;
|
|
|
|
namespace System.Net
|
|
{
|
|
/// <summary>Provides a container class for Internet host address information.</summary>
|
|
// Token: 0x02000242 RID: 578
|
|
public class IPHostEntry
|
|
{
|
|
/// <summary>Gets or sets a list of IP addresses that are associated with a host.</summary>
|
|
/// <returns>An array of type <see cref="T:System.Net.IPAddress" /> that contains IP addresses that resolve to the host names that are contained in the <see cref="P:System.Net.IPHostEntry.Aliases" /> property.</returns>
|
|
// Token: 0x170006C0 RID: 1728
|
|
// (get) Token: 0x0600149E RID: 5278 RVA: 0x00041C8C File Offset: 0x0003FE8C
|
|
// (set) Token: 0x0600149F RID: 5279 RVA: 0x00041C94 File Offset: 0x0003FE94
|
|
public IPAddress[] AddressList
|
|
{
|
|
get
|
|
{
|
|
return this.addressList;
|
|
}
|
|
set
|
|
{
|
|
this.addressList = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a list of aliases that are associated with a host.</summary>
|
|
/// <returns>An array of strings that contain DNS names that resolve to the IP addresses in the <see cref="P:System.Net.IPHostEntry.AddressList" /> property.</returns>
|
|
// Token: 0x170006C1 RID: 1729
|
|
// (get) Token: 0x060014A0 RID: 5280 RVA: 0x00041CA0 File Offset: 0x0003FEA0
|
|
// (set) Token: 0x060014A1 RID: 5281 RVA: 0x00041CA8 File Offset: 0x0003FEA8
|
|
public string[] Aliases
|
|
{
|
|
get
|
|
{
|
|
return this.aliases;
|
|
}
|
|
set
|
|
{
|
|
this.aliases = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets the DNS name of the host.</summary>
|
|
/// <returns>A string that contains the primary host name for the server.</returns>
|
|
// Token: 0x170006C2 RID: 1730
|
|
// (get) Token: 0x060014A2 RID: 5282 RVA: 0x00041CB4 File Offset: 0x0003FEB4
|
|
// (set) Token: 0x060014A3 RID: 5283 RVA: 0x00041CBC File Offset: 0x0003FEBC
|
|
public string HostName
|
|
{
|
|
get
|
|
{
|
|
return this.hostName;
|
|
}
|
|
set
|
|
{
|
|
this.hostName = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001179 RID: 4473
|
|
private IPAddress[] addressList;
|
|
|
|
// Token: 0x0400117A RID: 4474
|
|
private string[] aliases;
|
|
|
|
// Token: 0x0400117B RID: 4475
|
|
private string hostName;
|
|
}
|
|
}
|