-
Notifications
You must be signed in to change notification settings - Fork 0
03059a94 49f9 5a2a 06d2 c71f54297a94
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,
X509Certificate2 clientCertificate,
string url,
int port,
string requestString
)
- sslProtocol
- Type: System.Nullable(SslProtocols)
If not null, indicates SSL tunnelling is required using the protocol defined. - clientCertificate
- Type: System.Security.Cryptography.X509Certificates.X509Certificate2
Defines X509 certificate to use in SSL connection, if required. - 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