I'm using Delphi XE2.
I want to know, is it possible to check if the current connection is metered or not?
I just looked in the Registry, where I found the DefaultMediaCost
, but when I toggle the connection to metered nothing changed in this list.
So now I want to check the current state of my connection in the program itself, but I don't know if there is any way to do this.
The only function I found is for C# (NetworkInformation.GetInternetConnectionProfile
).