示例#1
0
 private void ArtUI_Net_Load(object sender, EventArgs e)
 {
     foreach (ArtNetInterface nic in UdpCommunicator.GetNetworkInterfaces())
     {
         string[] row  = { nic.name, nic.ip, nic.status };
         var      item = new ListViewItem(row);
         infoListView.Items.Add(item);
     }
 }
        public void Start(IPAddress address, int port)
        {
            communicator = new UdpCommunicator(address, port);
            communicator.DataReceived += Communicator_DataReceived;
            communicator.Start();

            SendArtPollReply();

            PauseMode = false;
        }