Client in C#

Hello everyone!!

I am trying to create a client for CasparCG using Bespoke to receive and send commands to the server in C#.
I managed to receive, but I am having great difficulty with sending.
Could someone share a piece of code where I can transmit commands to the server?

Thank you all very much for the help!!!

Does Bespoke supports sending and receiving data over a socket? I only use it for OSC. Caspar does only send status data over OSC. To control it you need to send AMCP commands over a socket to it.

I really thought it would be possible to send via OSC, now I understand why I can’t. :man_facepalming:
I’ll now research how to send via AMCP.
Thank you very much for the information, always very helpful.