Exemplo n.º 1
0
        public static string GetMachineCodeString()
        {
            string machineCodeString = string.Empty;

            if (machineCode == null)
            {
                machineCode = new MachineCode();
            }
            machineCodeString = "PC." + machineCode.GetCpuInfo() + "." +
                                machineCode.GetHDid() + "." +
                                machineCode.GetMoAddress();
            return(machineCodeString);
        }
Exemplo n.º 2
0
 public bool Logout(CommContracts.Employee user)
 {
     CommClient.Employee myd = new CommClient.Employee();
     return(myd.Logout(user, MachineCode.GetMachineCodeString()));
 }