Click or drag to resize

Binding Class

Represents a local socket binding. All active socket connections are "bound" to a specific port on the client and server side. These bindings are particularly important for some protocols to identify the local connection. Server processes bind themselves to a specific port in order to service incoming queries.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.NetBinding
    Crestron.SimplSharp.NetServerBinding

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class Binding

The Binding type exposes the following members.

Constructors
 NameDescription
Public methodBinding Creates a new instance of the Binding class.
Top
Properties
 NameDescription
Public propertyBindingAddress The IP Address of the binding as a String
Public propertyPort Denotes the port number associated with the socket binding. On a server connection, this would be the protocol numbers (e.g: HTTP=80, FTP=21)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodShouldSerializePort Returns whether the port is Serialized or not.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also