Forum Discussion
julie_mcmanus
12 years agoOccasional Contributor
Thanks again, however this isn't exactly what I needed to do. I do however have something that works now.
maxLength = 2;
byteType = dotNET.System.Type.GetType("System.Byte");
binaryData = dotNET.System.Array.CreateInstance(byteType, maxLength);
binaryData.Set(1, 0xA);
The binaryData.Set() method works with the SendTo() method.
maxLength = 2;
byteType = dotNET.System.Type.GetType("System.Byte");
binaryData = dotNET.System.Array.CreateInstance(byteType, maxLength);
binaryData.Set(1, 0xA);
The binaryData.Set() method works with the SendTo() method.