rmmarsh
asked on
How to send info to a database over the internet?
I have a desktop program written in C# and .NET v2.0. I want to send some data from within my program (MAC address) to a database on my web hosting site (it's a MySQL database) for license validation.
Any ideas on how to accomplish this?
Any ideas on how to accomplish this?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can query a mysql database directly from you C# .net 2.0 application.
ASKER
jaime: the database is stored on my web site; can you elaborate?
there is nothing special, just determine your connection string correctly, are you currently using some mysql client on your local pc? this will help to determine the connection string
ASKER
Jaime: no, just thinking of how to track the licenses so they are not used on more than one machine. If I take either the MAC address or harddrive serial number and send it to the server with the license key, I should be able to keep control of things.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes, that's what KPMT said... I guess there is no other way...
Thanks to both of you... I appreciate the feedback...
R
Thanks to both of you... I appreciate the feedback...
R
ASKER
Had to open another question regarding the connection string... I haven't a clue what it would look like when the database is on a remote server.
New question number is 22983881.
New question number is 22983881.
ASKER