ScreenUPG
RawDataTransmitBytes(Byte[]) Method
Example 



An array of bytes to send to host.
Writes an array of bytes directly to the host communications layer, without going through the presentation space.

Depending on the type of terminal and type of host connection, this data may have to be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set.

In the case of ALC, you must have two leading placeholder characters and one trailing placeholder character in your buffer (i.e. nn mm "real data" zz).

Syntax
'Declaration
 
Public Overloads Function RawDataTransmitBytes( _ 
   ByRef inStream As Byte() _ 
) As Integer
'Usage
 
Dim instance As ScreenUPG 
Dim inStream As Byte() 
Dim value As Integer 
  
value = instance.RawDataTransmitBytes(inStream)
public int RawDataTransmitBytes( 
   ref byte[] inStream 
)
public: 
int RawDataTransmitBytes( 
   array<byte>% inStream 
) 

Parameters

inStream
An array of bytes to send to host.

Return Value

The status of the operation.
Remarks
.NET applications should call RawDataTransmitBytes(sbyte[]).
Example
Dim rdtb As Byte()
            
'Send an array of bytes to host through screen object bypassing presentation space.
ReDim rdtb(4)
rdtb(0) = Asc("t")
rdtb(1) = Asc("e")
rdtb(2) = Asc("x")
rdtb(3) = Asc("t")
m_screen.RawDataTransmitBytes rdtb
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ScreenUPG Class
ScreenUPG Members
Overload List
RawDataTransmit Method