Forum Discussion
TanyaYatskovska
11 years agoSmartBear Alumni (Retired)
Hi,
Do you want to use the SetValue method to set values of the array on a client side? I can suggest that you use the following approach to set the array of bytes from a string.
var binaryData = dotNET.System_Text.Encoding.ASCII.GetBytes_2("SomeMessage");
The approach with GetType("System.Byte") should work fine on the server side.
Do you want to use the SetValue method to set values of the array on a client side? I can suggest that you use the following approach to set the array of bytes from a string.
var binaryData = dotNET.System_Text.Encoding.ASCII.GetBytes_2("SomeMessage");
The approach with GetType("System.Byte") should work fine on the server side.
Related Content
- 3 years ago
- 4 years ago
- 5 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago