Exemplo n.º 1
0
        public void Update(int peer, string name, string password, Action action)
        {
            if (!_amiManager.UpdatePeer(peer.ToString(), name, password, out string message))
            {
                throw new AmiException($"Unable to update peer: {message}");
            }

            action.Invoke();
        }