-
Notifications
You must be signed in to change notification settings - Fork 0
0a472b5e dd92 66a7 cd5c 60d9e1344fab
Mat Walker edited this page Apr 17, 2020
·
1 revision
[This is preliminary documentation and is subject to change.]
Performs a single TCP send/receive and assumes server will close connection.
Namespace: TeamControlium.NonGUI
Assembly: TeamControlium.NonGUI (in TeamControlium.NonGUI.dll) Version: 2.0.0
C#
public string DoTCPRequest(
Nullable<SslProtocols> sslProtocol,
string certificateFile,
string certificatePassword,
string url,
int port,
string requestString
)
- sslProtocol
- Type: System.Nullable(SslProtocols)
If not null, indicates SSL tunnelling is required using the protocol defined. - certificateFile
- Type: System.String
Full path and filename of X509 Certificate to use if required by SSL connection - certificatePassword
- Type: System.String
If using certificate loaded from file, password to sign certificate with - url
- Type: System.String
URL of server required - port
- Type: System.Int32
TCP Port to connect to. - requestString
- Type: System.String
String to be sent to URL/Port (IE. TCP Socket)
Type: String
Raw response string sent back by server
TCPBased Class
DoTCPRequest Overload
TeamControlium.NonGUI Namespace
- TeamControlium Namespace
-
TeamControlium.NonGUI Namespace
-
HTTPBased Class
- HTTPBased Constructor
-
HTTPBased Properties
- HTTPBased.Body Property
- HTTPBased.CertificateValidationCallback Property
- HTTPBased.ClientCertificate Property
- HTTPBased.Domain Property
- HTTPBased.HeaderList Property
- HTTPBased.HeaderString Property
- HTTPBased.HTTPMethod Property
- HTTPBased.QueryList Property
- HTTPBased.QueryString Property
- HTTPBased.ResourcePath Property
- HTTPBased.ResponseRaw Property
- HTTPBased.TryException Property
- HTTPBased.UseSSL Property
- HTTPBased Methods
- HTTPBased.HTTPMethods Enumeration
- HTTPBased.ItemList Class
- TCPBased Class
-
HTTPBased Class