/// <summary> /// Creates snoop file txt in given directory /// </summary> /// <param name="Network"></param> /// <param name="MT"></param> /// <returns></returns> private bool SnoopCommandSend() { try { MT.Send("/interface/wireless/snooper/snoop"); // uruchomienie snoopera MT.Send("=interface=" + this.Wlan); MT.Send(".tag=sss", true); MT.Send("/interface wireless snooper{snoop interface=\"" + this.Wlan + "\" file=\"" + this.FilePath + "\";}"); //zapisanie danych snoopera do pliku //ex .link.Send("/interface wireless snooper{snoop interface=\"wlan1\" file=\"myfile\";}"); /* link.Send(""); // zatrzymanie snoopera * link.Send(""); // pobranie pliku z routera? */ return(true); } catch { return(false); } }