Receive data (image , video, text) from rs232 or BNC cable and save to local directory by c#

I am trying to connect the device to computer by RS-232 or BNC cable to receive video and image and save it to my computer

how I can do this by c#

like this program bandicam bandicam can receive video from BNC cable