Skip to content

fb857cb7 bc1f e2c6 920f 35db79b9646f

Mat Walker edited this page Apr 17, 2020 · 1 revision

TCPBased Class

[This is preliminary documentation and is subject to change.]

Provides test-oriented functionality for TCP based interactions

Inheritance Hierarchy

System.Object
  TeamControlium.NonGUI.TCPBased
Namespace: TeamControlium.NonGUI
Assembly: TeamControlium.NonGUI (in TeamControlium.NonGUI.dll) Version: 2.0.0

Syntax

C#

public class TCPBased

The TCPBased type exposes the following members.

Constructors

 

Name Description
Public method TCPBased Initializes a new instance of the TCPBased class
  Back to Top

Properties

 

Name Description
Public property CertificateValidationCallback Gets or sets server certificate validation delegate Allowing external SSL (https://) server certificate checking and response.
Public property ClientCertificate Gets or sets X509 Certificate to use if required.
  Back to Top

Methods

 

Name Description
Public method DoTCPRequest(Nullable(SslProtocols), X509Certificate2, String, Int32, String) Performs a single TCP send/receive and assumes server will close connection.
Public method DoTCPRequest(Nullable(SslProtocols), String, String, String, Int32, String) Performs a single TCP send/receive and assumes server will close connection.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

TeamControlium.NonGUI Namespace

Clone this wiki locally