Exemple #1
0
        public HardwareId(string id)
        {
            var            fields = id.Split(',');
            ControllerType controllerType;

            if (!ControllerType.TryParse(fields[1], false, out controllerType))
            {
                throw new ArgumentException("Not a valid HardwareId string");
            }
            Value = id;
        }