IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

SendCommand Method

Will format and send a PDU using the specified command identifier and payload.

Syntax

[VB.NET]
Public Function SendCommand(ByVal CommandId As Integer, ByVal Payload As String) As String
[C#]
public byte[] SendCommand(int commandId, byte[] payload);

Remarks

This method offers a way to do more with the component than is directly supported. This method takes a command identifier and a payload, which includes every required and optional field after the header, and will create the 16-byte header for it before sending it to the server. The response PDU is returned both in the PITrail and by this method.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]