public static string GetMachineCodeString() { string machineCodeString = string.Empty; if (machineCode == null) { machineCode = new MachineCode(); } machineCodeString = "PC." + machineCode.GetCpuInfo() + "." + machineCode.GetHDid() + "." + machineCode.GetMoAddress(); return(machineCodeString); }
public bool Logout(CommContracts.Employee user) { CommClient.Employee myd = new CommClient.Employee(); return(myd.Logout(user, MachineCode.GetMachineCodeString())); }