search with "~" on C# API?

Hello,
up until now I have used this commands to find device on my router

 mikrotik.Send("/ppp/secret/print");
 mikrotik.Send("?name=" + device);
 mikrotik.Send("=.proplist=name,remote-address,last-logged-out", true);

I know from the cli I can use the “~” operator to search part of a name
for example

/ppp secret print where name ~"5808"

can I make the same command in the API?

I have try to change the “=” to “~” - but I got empty result

did I miss something ? or it’s not doable ?

Thanks ,

you can’t

Thanks ,