private void QueryDispatcher_ReadyForSendingCommands(object sender, System.EventArgs e) { // you can only run commands on the queryrunner when this event has been raised first! QueryRunner = new QueryRunner(QueryDispatcher); SimpleResponse loginResponse = QueryRunner.Login("serveradmin", "RWkzzXu9"); SimpleResponse selectVirtualServerById = QueryRunner.SelectVirtualServerById(1); ChannelModification cm = new ChannelModification { Name = "randomName", Description = "desc-test", IsPermanent = true }; var response = QueryRunner.CreateChannel(cm); VersionResponse versionResponse = QueryRunner.GetVersion(); if (versionResponse.IsErroneous) { Console.WriteLine("Could not get server version: " + versionResponse.ErrorMessage); return; } Console.WriteLine("Server version:\n\nPlatform: {0}\nVersion: {1}\nBuild: {2}", versionResponse.Platform, versionResponse.Version, versionResponse.Build); }