Actually I want to write a software which prevents my CD to copy, actually i have a client. She is having some tutorial. She want that tutorial cannot be played without CD. And once I create CD that should not be get copied. I know VC++ and C#. I want any clue for this type of software.
A copy-protection scheme. A CD doesn't "know" how often it's been played, so there's no way to prevent someone from installing the software again.
Don't panic, that's a good thing. That means that they can reinstall your software after they reinstalled Windows, without calling your helpdesk or buying a new CD. Customers should have that option, since they paid for your software.
There's multiple ways to protect the software, and none of them are 100% secure. I'd go for something that calls home and sends an activation code by email, for the application on a specific combination of hardware-id's. There's also companies specializing in copy-protection, like Aladdin[^].
The MAC-address[^] is the serial number of the network-card. The motherboard[^] also has a serial number. The drive-volume[^] has a number that changes each time that the harddisk if formatted.
The idea would be that you application makes a hash from these numbers and then sends that to you. That would be an unique identifier for an installation, and it would have to match a registration. Once the number is in, you send back an activation-code to unlock the application.
You can't link the information to a particular CD - since it's simple to make an exact duplicate of that thing.
I am an experienced asp.net with 3 years of experience. I would like to use my C# knowledge in embedded softwares like car audio, audio/ visuals etc. I need some guidance in that. Can you please provide me with some sample projects or some tutorials??
Embedded systems have limited resources, and most of them don't run the .NET framework; most embedded software is developed using C, C++, and Java; not C#.
And it is a big leap from ASP.NET to embedded software, you'll probably need to know a lot about operating system internals, hardware, real-time aspects, etc.
AFAIK there aren't many articles about it here on CodeProject. Try Google, or go visit the web sites of vendors that are relevant to the applications you envision.
Luc Pattyn [Forum Guidelines][Why QA sucks][My Articles] I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
Hi guyz.. Im still on my project as the final touch up i have a task to be added to my project.. As i have mentioned in my previous post my project is on console application.. Thank you 2 all in code project because from the help and advice that i got from everyone at code project i was able 2 completed 90% of my project.. now the issue in my project it that my project migrates all the records stored in xml to the database its fine with it, certain records in the xml file are stored in another file in xml my application catches the file exactly and inserts the records from it. now i have a verification coded in my application which checks whether that particular file is present in the folder, if the file is present the records from it are migrated if the file is not present, on the output window it displays the name of the file stating that the file is missing in the folder.. now since my application has nested for loops and if condition the verification for the same file takes place more than once so in the output window the same missing file name is printed more than one(may be 10times) it becomes messy 2 see the output window..
Now what i would try to implement is that even if it checks the same file for the second time and if the file is not present it should display the message on the output window only one.. my coding is as follows:
This is only a part of my coding.. My application has 860 lines of code.. so just imagine that how long my coding will be.. so plz advice me, when the for loop is traversed again and again the same missing file name is displayed on the screen which i have to aviod.. plz guide me..
One simple approach could be to create a bool variable called isPrinted and set it to false before your looping begins. When you reach a statement that will print a message saying that the file doesn't exist - check if the isPrinted is true. If not, then print your message and set isPrinted = true. The next time you reach the print statement your message will not print.
I didn't read your code very thorough, but it seems to me that you might want to change your design if you run into these kind of problems. Take a minute to think about it. Good luck!
thanx for ur reply... but that boolean function wont work in my condition because i have more that 5000 files and about 300 files are missing.. Ur case wil work if i have only one file which is missing... i think u got my point...
thanx but genericlist can be used in Dotnet framework 2.0 but im using VS2003 on framework 1.0 .. can i make use of array.. but the problem is i am not very much strong in arrays.. Do please guide me...