The first question I have is why you are using a class, rather than a struct?
The answer to how to send that data is related to marshaling/unmarshaling. That is the process for sending an object from one computer to another AS AN OBJECT. So, the question is really whether that is what you want to do. Or, is it the data in the object that you want to send?
You need to show some code that creates and populates an instance of that class (or struct, which is what it should be), and define how you want to marshal the data. The receiver needs to unmarshall the data the same way.
Endianness and differing type sizes can play havoc with marshaling/unmarshaling data. Which, of course, is why this is part of your project - to see if you have considered these issues and developed a plan to deal with them.