/// <summary>sends generic/undefined command</summary> public PopCommandResult GenericCommand(string command, bool isResponseMultiline, out PopResponse[] responses, params string[] arguments) { RejectNonConnectedState(); responses = null; using (var t = new GenericCommandTransaction(connection, command, isResponseMultiline)) { if (arguments != null && 0 < arguments.Length) t.RequestArguments["arguments"] = string.Join(" ", arguments); if (ProcessTransaction(t).Succeeded) responses = t.Result.ReceivedResponses.ToArray(); return t.Result; } }
/// <summary>sends generic/undefined command</summary> public PopCommandResult GenericCommand(string command, out PopResponse[] responses, params string[] arguments) { return GenericCommand(command, false, out responses, arguments); }