Exemplo n.º 1
0
        static void SendIdentificationRequest()
        {
            var dcppacket = new DcpPacket();

            dcppacket.MakeIdentificationRequest();
            Send(_macMulticast, dcppacket.Build());
        }
Exemplo n.º 2
0
        static void SendSetRequest(string mac, string option, string contentHex)
        {
            var dcpdata   = new DcpData(option, contentHex);
            var dcppacket = new DcpPacket();

            dcppacket.MakeSetRequest(dcpdata.Build());
            var hex = dcppacket.Build();

            Send(mac, hex);
        }