ScreenUPG
getCapturedBytes Method
Example 



Returns the currently captured data as a byte array. The data capture facility allows you to save all information being sent by the host communications layer to the presentation space for later retrieval as a byte array or a String.

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

Syntax
'Declaration
 
Public Function getCapturedBytes() As Byte()
'Usage
 
Dim instance As ScreenUPG 
Dim value() As Byte 
  
value = instance.getCapturedBytes()
public byte[] getCapturedBytes()
public: 
array<byte>^ getCapturedBytes(); 

Return Value

An unsigned byte array containing the data this is currently captured.
Remarks
Note that calling this method does not remove the data from the capture buffer. .NET applications should call getCapturedJavaBytes.
Example
Dim gcb As Byte()
            
gcb = m_screen.getCapturedBytes
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
clearCapturedData Method
getCapturedData Method
getCapturedJavaBytes Method
getDataCapture Method
getMaxDataCaptureLength Method
setDataCapture Method
setDataCaptureEx Method
setMaxDataCaptureLength Method