コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }