View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vb.winapi
Rob van Gelder[_4_] Rob van Gelder[_4_] is offline
external usenet poster
 
Posts: 1,236
Default Identify: VPN or Network - What API Function do I use?

Yo,

A lot of implementations use a set range of IP Addresses for VPN usage. You
could check for that.

Otherwise, a crude hack might be to measure ping times against a local
server.

Rob


"Yo" wrote in message
...
How do you identify if a user is Local or VPN?
It will either be a VPN from a remote location or a Network Login from
inside the office.
Thanks in advance,
Yo.