Verastream SDK .Net Reference
getMaxDataCaptureLength Method
Example 



Returns the current maximum buffer size for data captured using the data capture facility. The data capture facility allows you to save all information being sent to the presentation space by the host for later retrieval as a byte array or a string.
Syntax
'Declaration
 
Public Function getMaxDataCaptureLength() As Integer
'Usage
 
Dim instance As ScreenUPG
Dim value As Integer
 
value = instance.getMaxDataCaptureLength()
public int getMaxDataCaptureLength()
public:
int getMaxDataCaptureLength(); 

Return Value

The current maximum buffer size (in bytes)
Remarks
Note: The default value is 9600 bytes, which is the equivalent of 5 screens of data (5 x 1920). Any bytes that exceed the specified buffer size are truncated.
Example
[C#] [VB]
int mdcl = screen.getMaxDataCaptureLength();
Dim mdcl As Integer
            
mdcl = screen.getMaxDataCaptureLength
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