Пример #1
0
        public async Task <bool> SetGpoAsync(string hostAddress, int gpo, bool active)
        {
            var cmd = new CommandIkusNetSetGpo {
                Active = active, Gpo = gpo
            };

            return(await SendConfigurationCommandAsync(hostAddress, cmd));
        }
Пример #2
0
        public bool SetGpo(string hostAddress, int gpo, bool active)
        {
            var cmd = new CommandIkusNetSetGpo {
                Active = active, Gpo = gpo
            };

            return(SendConfigurationCommand(hostAddress, cmd));
        }