long value = 123456789; Packet packet = new Packet(); packet.PutLong(value);
long value = 987654321; Packet packet = new Packet(); packet.PutLong(value); client.Send(packet);This code creates a new packet, adds the long value 987654321 to it using the PutLong method, and then sends the packet over the network using a networking client. Based on the method naming conventions and functionality, it is likely that the Packet PutLong method belongs to a networking package library such as Lidgren.Network or LiteNetLib.