Attached Property in StateTriggers

The demo code like the follow below:

So just add the parentheses around the attached property and it would be worked fine on StateTriggers.

Access Ethernet Address in UWP

If you want to use an Ethernet address(like 192.168.0.1) to send http request, you may meet the error:
A network capability is required to access this network resource.
So the solution here:
Package.appxmanifest -> Capabilities tab -> Check Private Networks (Client & Server) capability.