Example #1
0
 static void AddRow(UdpClient client, Rational max_budget, UInt32[] values, RSACryptoServiceProvider ironclad_public_key, Random rng)
 {
     AddRowRequest addRowRequest = new AddRowRequest(values, max_budget, rng);
     byte[] request = addRowRequest.GetPacket(ironclad_public_key);
     byte[] response = CommonRoutines.SendRequest(client, request, "AddRow");
     AddRowResponse addRowResponse = new AddRowResponse(response);
 }
Example #2
0
        static void AddRow(UdpClient client, Rational max_budget, UInt32[] values, RSACryptoServiceProvider ironclad_public_key, Random rng)
        {
            AddRowRequest addRowRequest = new AddRowRequest(values, max_budget, rng);

            byte[]         request        = addRowRequest.GetPacket(ironclad_public_key);
            byte[]         response       = CommonRoutines.SendRequest(client, request, "AddRow");
            AddRowResponse addRowResponse = new AddRowResponse(response);
        }