public sealed class NetworkConnection : IMessage<NetworkConnection>, IEquatable<NetworkConnection>, IDeepCloneable<NetworkConnection>, IBufferMessage, IMessage
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eNetworkConnection\u003c/code\u003e class is 1.4.0, which is part of the \u003ccode\u003eGoogle.Cloud.MigrationCenter.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConnection\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparisons, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains multiple properties, including \u003ccode\u003eLocalIpAddress\u003c/code\u003e, \u003ccode\u003eLocalPort\u003c/code\u003e, \u003ccode\u003ePid\u003c/code\u003e, \u003ccode\u003eProcessName\u003c/code\u003e, \u003ccode\u003eProtocol\u003c/code\u003e, \u003ccode\u003eRemoteIpAddress\u003c/code\u003e, \u003ccode\u003eRemotePort\u003c/code\u003e, and \u003ccode\u003eState\u003c/code\u003e, to describe various aspects of a network connection.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConnection\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eNetworkConnection()\u003c/code\u003e and a copy constructor \u003ccode\u003eNetworkConnection(NetworkConnection other)\u003c/code\u003e for creating new instances.\u003c/p\u003e\n"],["\u003cp\u003eThe object's properties provides information on the network connections local IP and port, remote IP and port, the protocol, the state of the connection and the process id and name.\u003c/p\u003e\n"]]],[],null,["# Migration Center v1 API - Class NetworkConnection (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkConnection)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.NetworkConnection)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.NetworkConnection)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.NetworkConnection)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.NetworkConnection) \n\n public sealed class NetworkConnection : IMessage\u003cNetworkConnection\u003e, IEquatable\u003cNetworkConnection\u003e, IDeepCloneable\u003cNetworkConnection\u003e, IBufferMessage, IMessage\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NetworkConnection \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NetworkConnection](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkConnection), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NetworkConnection](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkConnection), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NetworkConnection](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.NetworkConnection), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.MigrationCenter.V1](/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.MigrationCenter.V1.dll\n\nConstructors\n------------\n\n### NetworkConnection()\n\n public NetworkConnection()\n\n### NetworkConnection(NetworkConnection)\n\n public NetworkConnection(NetworkConnection other)\n\nProperties\n----------\n\n### LocalIpAddress\n\n public string LocalIpAddress { get; set; }\n\nLocal IP address.\n\n### LocalPort\n\n public int LocalPort { get; set; }\n\nLocal port.\n\n### Pid\n\n public long Pid { get; set; }\n\nProcess ID.\n\n### ProcessName\n\n public string ProcessName { get; set; }\n\nProcess or service name.\n\n### Protocol\n\n public string Protocol { get; set; }\n\nConnection protocol (e.g. TCP/UDP).\n\n### RemoteIpAddress\n\n public string RemoteIpAddress { get; set; }\n\nRemote IP address.\n\n### RemotePort\n\n public int RemotePort { get; set; }\n\nRemote port.\n\n### State\n\n public NetworkConnection.Types.State State { get; set; }\n\nNetwork connection state."]]