class AccountTable
public string table
private string mac; public string MacAddress { get { if (string.IsNullOrWhiteSpace(mac)) return ""; string macx = mac; string f = ""; for (int i = 0; i < macx.Length; i++) { if (i % 2 == 0) { if (i != 0) f += ":"; } f += macx[i]; } return f; } set { mac = value; } }
this.IP = "";
this.MacAddress = "";
this.Password = reader.ReadString("Password");
this.MacAddress = reader.ReadString("MacAddress");
class Authentication
public string MacAddress { get { return Encoding.Default.GetString(Buffer, 152, 16).Replace("\0", ""); } } byte[] Buffer;
Buffer = buffer;
byte[] Buffer;