public void TransmitIP()
 {
     // Send local IPAddress for device to communicate back.
     byte[] bytes = EncodeUtilities.EncodeData("IPADDRESS", NetworkUtilities.LocalIPAddress(), out string currentMessage);
     this.udpSender.QueueUpData(bytes);
     //bool success = connect.udpSender.flagSuccess;
 }