Encodes a specified String into a byte array

Namespace:  Novalys.VisualGuard.Security
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public static byte[] GetBytes(
	string text
)
Visual Basic (Declaration)
Public Shared Function GetBytes ( _
	text As String _
) As Byte()

Parameters

text
Type: System..::.String
the string value to convert.

Return Value

A byte array containing the encoded representation of the specified string.

See Also