56 lines
1.2 KiB
C#
56 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace System.Net.NetworkInformation
|
|
{
|
|
// Token: 0x020001B6 RID: 438
|
|
internal class TcpConnectionInformationImpl : TcpConnectionInformation
|
|
{
|
|
// Token: 0x06000E6B RID: 3691 RVA: 0x00028F5C File Offset: 0x0002715C
|
|
public TcpConnectionInformationImpl(IPEndPoint local, IPEndPoint remote, TcpState state)
|
|
{
|
|
this.local = local;
|
|
this.remote = remote;
|
|
this.state = state;
|
|
}
|
|
|
|
// Token: 0x170004B0 RID: 1200
|
|
// (get) Token: 0x06000E6C RID: 3692 RVA: 0x00028F7C File Offset: 0x0002717C
|
|
public override IPEndPoint LocalEndPoint
|
|
{
|
|
get
|
|
{
|
|
return this.local;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004B1 RID: 1201
|
|
// (get) Token: 0x06000E6D RID: 3693 RVA: 0x00028F84 File Offset: 0x00027184
|
|
public override IPEndPoint RemoteEndPoint
|
|
{
|
|
get
|
|
{
|
|
return this.remote;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004B2 RID: 1202
|
|
// (get) Token: 0x06000E6E RID: 3694 RVA: 0x00028F8C File Offset: 0x0002718C
|
|
public override TcpState State
|
|
{
|
|
get
|
|
{
|
|
return this.state;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000CF8 RID: 3320
|
|
private IPEndPoint local;
|
|
|
|
// Token: 0x04000CF9 RID: 3321
|
|
private IPEndPoint remote;
|
|
|
|
// Token: 0x04000CFA RID: 3322
|
|
private TcpState state;
|
|
}
|
|
}
|