private static void StartSingleListen()
 {
     NetworkReciever nr = new NetworkReciever {NeedToLongTimeRecieve = false};
     if (_pathToSaveFolder != null)
         nr.PathToSaveFolder = _pathToSaveFolder;
     if (_pathToLogFileRec != null)
         nr.PathToLogFile = _pathToLogFileRec;
     nr.StartReceiving();
     nr.StopReceiving();
 }
        private static void StartContListen()
        {
            NetworkReciever nr = new NetworkReciever();
            nr.NeedToLongTimeRecieve = true;
            if (_pathToSaveFolder != null)
                nr.PathToSaveFolder = _pathToSaveFolder;
            if (_pathToLogFileRec != null)
                nr.PathToLogFile = _pathToLogFileRec;

            nr.StartReceiving();
        }