MAC Address
-
Hi, that's easy: http://www.daniweb.com/forums/thread22577.html[^] or http://www.codeguru.com/cpp/i-n/network/networkinformation/article.php/c5451[^] Regards Sebastian P.S.: Please be so kind to try google first next time...
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
The way that I received it was by running ipconfig.exe and redirecting the output to your application through the System.Diagnostic.Process class. Then I just wrote code to manipulate the input to get the MAC address I want.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog
-
Hi, that's easy: http://www.daniweb.com/forums/thread22577.html[^] or http://www.codeguru.com/cpp/i-n/network/networkinformation/article.php/c5451[^] Regards Sebastian P.S.: Please be so kind to try google first next time...
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, thanks for your reply. i have another question. is it possible using mac address for software lock? i want to my porogram runs only on spesified PC. Regards, :)
Sure. But you have to program this on your own...
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Sure. But you have to program this on your own...
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
Ohh tanx for soooooon reply :) and the my big project is here, i don't know how to do this: :(( I have a measurement device that measure and sends a data update string to the PC once a millisecond, so you can see what's happening in real-time. I would like to let authorized people see my data via the web in roughly real time using a web browser such as Internet explorer. I have an internet connection with valid IP address that whole of day is connected. My idea so far, is to divide the problem into originator (my PC putting data on database) and clients (pc's logging into my computer via web browser to see latest data). Originator: I thought I would use SQL database to save average measured data into the database every one seconds. Clients: This has to log in, see designed GUI, select charts, table and reports via menu. I am very keen to hear any suggestions Does you know how I can do this?
-
Hi, thanks for your reply. i have another question. is it possible using mac address for software lock? i want to my porogram runs only on spesified PC. Regards, :)
Bad idea. A MAC address can be spoofed. Or there could be multiple NICs in the machine at any given time, What if there is no NIC in the machine? If you're trying to identify the machine software is installed on, you may as well give up, because there is simply no reliable way to do it that will work every time on every machine.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Bad idea. A MAC address can be spoofed. Or there could be multiple NICs in the machine at any given time, What if there is no NIC in the machine? If you're trying to identify the machine software is installed on, you may as well give up, because there is simply no reliable way to do it that will work every time on every machine.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Ohh tanx for soooooon reply :) and the my big project is here, i don't know how to do this: :(( I have a measurement device that measure and sends a data update string to the PC once a millisecond, so you can see what's happening in real-time. I would like to let authorized people see my data via the web in roughly real time using a web browser such as Internet explorer. I have an internet connection with valid IP address that whole of day is connected. My idea so far, is to divide the problem into originator (my PC putting data on database) and clients (pc's logging into my computer via web browser to see latest data). Originator: I thought I would use SQL database to save average measured data into the database every one seconds. Clients: This has to log in, see designed GUI, select charts, table and reports via menu. I am very keen to hear any suggestions Does you know how I can do this?
Hmm sounds familiar. Didn't you post the question before in another forum? Anyway trying to use a database on a server is good idea. You could build an ASP.NET application, that will be deployed on the server. The user has to logon to the page to see the results stored in your database. Advantage of this solution is that ASP.NET offers a lot of build-in controls like charts, reports and datagridviews and you client only needs a browser for this.
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hmm sounds familiar. Didn't you post the question before in another forum? Anyway trying to use a database on a server is good idea. You could build an ASP.NET application, that will be deployed on the server. The user has to logon to the page to see the results stored in your database. Advantage of this solution is that ASP.NET offers a lot of build-in controls like charts, reports and datagridviews and you client only needs a browser for this.
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Sure. But you have to program this on your own...
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Sry, I didn't get this. What do you mean?
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, the machine hardware configuration that i need to install my software on it, consist one ethernet port indispensable and maybe one wireless adaptor (wireless is optional).
When you retrieve the MAC address, it will get the MAC address of the NIC that's currently active, or the first one in the list if they're both active. And once again, what if both NICs are disabled? Then you can't get a MAC address at all.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001