VncSharp

RfbProtocol.GetBytes Method 

Converts a string to bytes for transfer to the server.

[Visual Basic]
Protected Shared Function GetBytes( _
   ByVal text As String _
) As Byte()
[C#]
protected static byte[] GetBytes(
   string text
);

Parameters

text
The text to be converted to bytes.

Return Value

Returns a Byte Array containing the text as bytes.

See Also

RfbProtocol Class | VncSharp Namespace