receive byte data from C#

Hi everybody

i want to receive the byte array data from C# but i don't know how to get it

down there is my sending Type from C# to arduino

              try
            {
                TcpClient.Client.Send(BitConverter.GetBytes((short)1000));
                TcpClient.Client.Send(BitConverter.GetBytes((short)msgType));
                TcpClient.Client.Send(BitConverter.GetBytes((uint)_Datas.Length));
                if (_Datas.Length > 0)
                    TcpClient.Client.Send(_Datas);
            }
            catch (Exception)
            {

            }

the first 1000 cuz i want to confirm that the data is correct.

i've watch many web but still don't get it .

Hopefully somebody will be able to point me in the right direction

Hopefully somebody will be able to point me in the right direction

Without knowing how the Arduino and the PC that that application is running on are connected, all we can do is spin you in circles.

Maybe you can find some inspiration in this code.