Serial port and GPS

OsmDld.dopost Method 

Executes POST request and stores its result in the file.

[Visual Basic]
Private Shared Function dopost( _
   ByVal aWebReq As WebRequest, _
   ByVal aPostReq As Byte(), _
   ByVal aReqLen As Integer, _
   ByVal anOutFile As String, _
   ByVal anHlpBuf As Byte() _
) As Exception
[C#]
private static Exception dopost(
   WebRequest aWebReq,
   byte[] aPostReq,
   int aReqLen,
   string anOutFile,
   byte[] anHlpBuf
);

Parameters

aWebReq
Handler for HTTP communication.
aPostReq
POST request to execute.
aReqLen
Length of the POST request in bytes.
anOutFile
Name of the file where to store the post request results
anHlpBuf
Pass a valid and a quite big byte buffer here.

Return Value

null if everything went OK or the exception on error

See Also

OsmDld Class | serial Namespace