Convert a string into an array of bytes
Namespace: LLCryptoLib.CryptoAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public static byte[] StringToBytes( string instr ) |
| Visual Basic |
|---|
Public Shared Function StringToBytes ( _ instr As String _ ) As Byte() |
| Visual C++ |
|---|
public: static array<unsigned char>^ StringToBytes( String^ instr ) |
Parameters
- instr
- Type: System..::..String
String to convert