public long ClientKill(string addr = null, string id = null, string type = null, string skipMe = null)
{
var cmdWithArgs = new List<byte[]>
{
Commands.Client, Commands.Kill,
};
if (addr != null)
{
cmdWithArgs.Add(Commands.Addr);
cmdWithArgs.Add(addr.ToUtf8Bytes());
}
if (id != null)
{
cmdWithArgs.Add(Commands.Id);
cmdWithArgs.Add(id.ToUtf8Bytes());
}
if (type != null)
{
cmdWithArgs.Add(Commands.Type);
cmdWithArgs.Add(type.ToUtf8Bytes());
}
if (skipMe != null)
{
cmdWithArgs.Add(Commands.SkipMe);
cmdWithArgs.Add(skipMe.ToUtf8Bytes());
}
return SendExpectLong(cmdWithArgs.ToArray());
}