Ejemplo n.º 1
0
        /// <summary>
        /// Cancel UDP Receive
        /// </summary>
        /// <returns></returns>
        public ActionResult CancelReceiveUDPMessage(HttpViewModel httpViewModel)
        {
            string response = "";

            HTTPManager.CancelUdpBroadcast();

            httpViewModel.HttpResponse = response;

            return(PartialView("_HttpResponse", httpViewModel));  //Note This is not used in the view we just need it because ActionResults demand a Return
        }