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.
Surface Pro 5 News - release date, UK price, features, specs
Microsoft Surface Studio hands-on review: the iMac killer is here
Best Mac antivirus 2017
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.