//private RadioMgrServices xRM; public DolphinWiFi() : base() { int nSize = 64; byte[] aMAC = new byte[64]; cSym = new CustPB(this, "cSym"); base.STB = cSym; base.ConfigTextBox(31, 24, 164, 16); //xRM = new RadioMgrServices(); if (RFServices.GetRFAdapterMACAddress(aMAC, ref nSize)) { sMACAddr = ""; for (int i = 0; i < 6; i++) { sMACAddr += String.Format("{0:X2}", aMAC[i]); } } else { sMACAddr = "000000000000"; } tmSig = new System.Windows.Forms.Timer(); tmSig.Enabled = false; tmSig.Interval = 500; tmSig.Tick += new EventHandler(tmSig_Tick); }
public HoneyWiFi() : base() { byte[] aMAC; cSym = new CustPB(this, "cSym"); base.STB = cSym; base.ConfigTextBox(31, 24, 164, 16); xRS = new RadioServices(); aMAC = xRS.GetRadioMacAddress(); try { sMACAddr = ""; for (int i = 0; i < 6; i++) { sMACAddr += String.Format("{0:X2}", aMAC[i]); } } catch { sMACAddr = "000000000000"; } tmSig = new System.Windows.Forms.Timer(); tmSig.Enabled = false; tmSig.Interval = 1500; tmSig.Tick += new EventHandler(tmSig_Tick); }
public SymWiFi(WLAN x) : base() { cSym = new CustPB(this, "cSym"); base.pgbWiFiIndicator = cSym; base.ConfigTextBox(31, 24, 164, 16); //base.STB.BringToFront(); //base.STB.Refresh(); //bUseFusion = true; //xWiFiCard = x.Adapters[0]; try { xWiFiCard = x.Adapters[0]; x.EventResolution = 2000; SetMAC(xWiFiCard.MacAddressRaw); } catch { sMACAddr = "000000000000"; } }
private void Init6100(int nLX, int nLY, int nSX, int nSY) { int nSize = 6; byte[] aMAC = new byte[6]; cSym = new CustPB(this, "cSym"); base.SigTB = cSym; //base.ConfigTextBox(32, 35, 164, 18); if ((nSX > 0) && (nSY > 0)) { base.ConfigTextBox(nLX, nLY, nSX, nSY); } else { base.ConfigTextBox(); } xRS = new RFServices(); xRM = new RadioManager(); if (RFServices.GetRFAdapterMACAddress(aMAC, ref nSize)) { sMACAddr = ""; for (int i = 0; i < 6; i++) { sMACAddr += String.Format("{0:X2}", aMAC[i]); } } else { sMACAddr = "000000000000"; } tmSig = new System.Windows.Forms.Timer(); tmSig.Enabled = false; tmSig.Interval = 500; tmSig.Tick += new EventHandler(tmSig_Tick); }