I have to send a byte array to class (class take care about all communication with FTDI) . Unfortunately I can't use static function to do that
public static void st_SendCommand(ref byte[p,int iSize) will not work because of FTDI dll restrictions. I resolved this situation in other cases when it wasn't array as argument by calling not static function from static and it works. But it is not working with array. I need to send array and size of array to my class and it those parameters have to be used in some not static function.
How can I do that?