System.Net.SendWol.SendPacket C# (CSharp) Method

SendPacket() private static method

private static SendPacket ( IPEndPoint target, byte packet ) : void
target IPEndPoint
packet byte
return void
        private static void SendPacket(IPEndPoint target, byte[] packet)
        {
            using (var cl = new UdpClient())
                cl.Send(packet, packet.Length, target);
        }