Click here to Skip to main content
11,709,529 members (50,021 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Networking routing

I am developing a website Using MVC 4, this website will be accessed by mobile (Smartphones) users only. Is it possible to trace or guess a user's current access point which is in the building?
Is there any Specific Network configuration of routers/access point required which we need to do for doing the same?
The website will be used only in building local network using Wi-fi. so, no internet connectivity required.
Posted 22-Apr-13 8:00am
Edited 23-Apr-13 0:38am
Sergey Alexandrovich Kryukov at 22-Apr-13 15:54pm
How about thinking just a bit? :-)
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Yes, you can. Each package going up has to spend energy to work against gravitation. The energy needed to move up is equal to m×g×h, where g is the gravitational field of the Earth, the same as the acceleration of the free falling body and h is the elevation, and m is the mass of the package. When the package goes down, it spends equal amount of potential gravity in the gravitational field of the Earth. This way, if yo measure elevation between each floor and the energy of your packages in all situations, you can calculate the floor from each message was sent.

Everything else is just the matter of solving of algebraic equations you should know from middle school.

Good luck,
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

I Achived this by creating separate VLan for each access point. IP allocation was done by a common DHCP server, a different range of IP address for each access point, and for all access points maintained a database storing location for them. so just by getting user IP address I was able to resolve his location.
Also note that there was no router used for network setup, so I got user's mobile IP address directly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 590
1 OriginalGriff 250
2 Maciej Los 225
3 Peter Leow 219
4 Mika Wendelius 160
0 OriginalGriff 9,428
1 Sergey Alexandrovich Kryukov 9,027
2 CPallini 5,189
3 Maciej Los 4,991
4 Mika Wendelius 3,856

Advertise | Privacy | Mobile
Web02 | 2.8.150819.1 | Last Updated 19 Oct 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100