Hi all,
I need to send following data to a network device.
byte[] MyArray=new byte[] { 0x00, 0x00, 0x00, 0xAF, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x1CD };
But getting error :
"Constant value '461' cannot be converted to a 'byte'"
Any solution?
Thanks,
Vinayak
I need to send following data to a network device.
byte[] MyArray=new byte[] { 0x00, 0x00, 0x00, 0xAF, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x1CD };
But getting error :
"Constant value '461' cannot be converted to a 'byte'"
Any solution?
Thanks,
Vinayak
Comment