I'm making an app which wants to detect VPN Connection. My Question is I want to Detect VPN Connection, If VPN is Connected I don't want to allow the user to use my app, In case VPN is off I want to allow the user to use my app.
Before Asking This question I read this Documents VPNService VPNStatus
But I can't get Solution. If anyone knows the solution, Please Share with me.
Thanks in Advance