public static IDictionary <string, string> GetMachineUserIdentification() { MachineUser myMachineUser = new MachineUser(); IDictionary <string, string> result = new Dictionary <string, string>(); result.Add("WindowsLoginName", WindowsLoginName); result.Add("ProgramRunAsName", ProgramRunAsName); result.Add("MachineIP", MachineIP); result.Add("ComputerName", ComputerName); return(result); }
public static IDictionary<string, string> GetMachineUserIdentification() { MachineUser myMachineUser = new MachineUser(); IDictionary<string, string> result = new Dictionary<string, string>(); result.Add("WindowsLoginName", WindowsLoginName); result.Add("ProgramRunAsName", ProgramRunAsName); result.Add("MachineIP", MachineIP); result.Add("ComputerName", ComputerName); return result; }