Esempio n. 1
0
        partial void mnuMAC_Cick(NSObject sender)
        {
            AddressEntry row = GetSelectedRow();

            if (row != null)
            {
                W.CopyString(row.MAC);
            }
        }
Esempio n. 2
0
        partial void mnyCopyDNS_Click(NSObject sender)
        {
            AddressEntry row = GetSelectedRow();

            if (row != null)
            {
                W.CopyString(row.DNS);
            }
        }
Esempio n. 3
0
        partial void CopyMenuAction(NSObject sender)
        {
            AddressEntry row = GetSelectedRow();

            if (row != null)
            {
                W.CopyString(row.Address);
            }
        }
Esempio n. 4
0
        partial void mnuUDPScan(NSObject sender)
        {
            AddressEntry row = GetSelectedRow();

            if (row != null)
            {
                PortScannerController portScanner = new PortScannerController(row, "udp");
                portScanner.ShowWindow(this);
            }
        }
Esempio n. 5
0
        public AddressEntry GetRow(nint index)
        {
            AddressEntry row = new AddressEntry();


            row.Address = DataSource.AddressEntries[(int)index].Address;
            row.Status  = DataSource.AddressEntries[(int)index].Status;
            row.Latency = DataSource.AddressEntries[(int)index].Latency;
            row.TTL     = DataSource.AddressEntries[(int)index].TTL;
            row.DNS     = DataSource.AddressEntries[(int)index].DNS;
            row.MAC     = DataSource.AddressEntries[(int)index].MAC;

            return(row);
        }
Esempio n. 6
0
        partial void mnuRow_Click(NSObject sender)
        {
            AddressEntry row = GetSelectedRow();

            if (row != null)
            {
                string delim = GetDelimiter();
                W.CopyString(
                    row.Address + delim +
                    row.Status + delim +
                    row.Latency + delim +
                    row.TTL + delim +
                    row.DNS + delim +
                    row.MAC);
            }
        }
 public DataViewerWindowController(AddressEntry host, PortEntry row) : base("DataViewerWindow")
 {
     portData  = row.Data;
     ipAddress = host.Address;
     ipPort    = row.Port;
 }
 public PortScannerController(AddressEntry row, string scanProtocol = "tcp") : base("PortScanner")
 {
     HostInfo = row;
     protocol = scanProtocol;
 }