partial void mnuMAC_Cick(NSObject sender) { AddressEntry row = GetSelectedRow(); if (row != null) { W.CopyString(row.MAC); } }
partial void mnyCopyDNS_Click(NSObject sender) { AddressEntry row = GetSelectedRow(); if (row != null) { W.CopyString(row.DNS); } }
partial void CopyMenuAction(NSObject sender) { AddressEntry row = GetSelectedRow(); if (row != null) { W.CopyString(row.Address); } }
partial void mnuUDPScan(NSObject sender) { AddressEntry row = GetSelectedRow(); if (row != null) { PortScannerController portScanner = new PortScannerController(row, "udp"); portScanner.ShowWindow(this); } }
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); }
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; }