1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 namespace System.Net.NetworkInformation
6 {
7     /// <summary>
8     /// Provides information about the Transmission Control Protocol (TCP) connections on the local computer.
9     /// </summary>
10     public abstract class TcpConnectionInformation
11     {
12         /// <summary>
13         /// Gets the local endpoint of a Transmission Control Protocol (TCP) connection.
14         /// </summary>
15         public abstract IPEndPoint LocalEndPoint { get; }
16 
17         /// <summary>
18         /// Gets the remote endpoint of a Transmission Control Protocol (TCP) connection.
19         /// </summary>
20         public abstract IPEndPoint RemoteEndPoint { get; }
21 
22         /// <summary>
23         /// Gets the state of this Transmission Control Protocol (TCP) connection.
24         /// </summary>
25         public abstract TcpState State { get; }
26     }
27 }
28