| File: System\Net\NetworkInformation\SimpleTcpConnectionInformation.Unix.cs | Web Access |
| Project: src\runtime\src\libraries\System.Net.NetworkInformation\src\System.Net.NetworkInformation.csproj (System.Net.NetworkInformation) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Net.NetworkInformation { internal sealed class SimpleTcpConnectionInformation : TcpConnectionInformation { public SimpleTcpConnectionInformation(IPEndPoint localEndPoint, IPEndPoint remoteEndPoint, TcpState state) { LocalEndPoint = localEndPoint; RemoteEndPoint = remoteEndPoint; State = state; } public override IPEndPoint LocalEndPoint { get; } public override IPEndPoint RemoteEndPoint { get; } public override TcpState State { get; } } }