asp classic - Obtaining MAC address -


according obtain client mac address in asp.net application, not possible. not entirely convinced because whenever connect tim hortons wifi, mac address known.

occasionally, network slow , see url before being redirected connect page:

http://timhortonswifi.com/cp/tdl3/index.asp     ?cmd=login     &switchip=172.30.129.73     &mac=60:6c:66:17:1a:83     &ip=10.40.66.229     &essid=tim%20hortons%20wifi     &apname=tdl-on-nep-02177-wap1     &apgroup=02177     &url=http%3a%2f%2fweather%2egc%2eca%2fcity%2fpages%2fon-72_metric_e%2ehtml 

so according url, site knows ip address of router, mac address, ip address assigned device router, network ssid, other pieces of information, , url trying access prior connecting.

there's 2 options: tim hortons wifi basic , tim hortons wifi plus, "plus" option allows me connect tim hortons wifi access point in canada automatically device. registration requires email address, i'm assuming possible checking mac address , storing in database routers ping upon connection. more info here.

according extension of page, can safely assume asp. how obtaining information?

when client traffic reaches first router, router route traffic adecuated port, changing response mac address own mac address answer routed it. , happen each of routers packets travel by. so, @ end, web server see mac address of last router answer sent routed previous roter, , process repeated until answer reaches client.

no, there not way obtain mac address of client from server side.

but, seeing client sending information server. so, answer can converted "how can obtain local mac address , send server?".

browsers not allow read information. signed/configured activex or java applets can it, can blocked, or can have device not execute java nor activex, not reliable way of doing it.

in case in post, easiest way of doing configuring wifi access point dhcp or dns server serve proxy configuration file allow configure redirection desired web server, redirection has been created inside access point, have shown information in post.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -