FirstChar="S"
Service="0"
Dim Amount2Pay As String = NumberFormat2(TotalPayment,1,2,2,False)
Dim Line2Send As String =$"${FirstChar}${Service}${Amount2Pay}${DummyString}"$
Log("MB:" & Line2Send)
Dim Data() As Byte
Data = Line2Send.GetBytes("UTF8")
If MB_Status = True Then
MB_InOut.Write(Data) ' MB_InOut is the AsynStreams object
End If