I don't believe it is possible to configure a program to differentiate between a "wired" and a "wireless" connection to the network.
A "wireless" connection emulates a "wired" ethernet connection.
Galaxy Note 8 vs iPhone X
The secrets of creating gory VFX
How to update iOS on iPhone or iPad
WhatsApp : comment lire vos messages sans que l’expéditeur le sache