|
Does the .NET framework contain any classes that assist with caching data locally, and then automatically synchronizing that data with a website as soon as the machine is connected to the internet?
Adobe Air has direct support for this. I wonder if .NET has anything addressing this.
|
|
|
|
|
Nope. You either have to use a third party solution, or roll your own.
|
|
|
|
|
In a pc contain default hardware components. If i have add addtional components. while if the checking process will be taken on every booting time & detect any device add, if u have added to check and mismatched, the system will be come a shutdown. they matched means continue to loading OS.
And as what type of devices should be add to list out in the form of label.
To checking process using an serial number of products.
if u have use any type of database or various technique(registry, text file).
for example: already a pc contain 2 HDD normal. add another one will not boot the system.
|
|
|
|
|
Uhhh... what???
I didn't understand anything you said.
Are you asking if you can prevent Windows from booting if the hardware in the machine changes??
|
|
|
|
|
hai Dave Kreskowiak,
But i have Sorry for u haven't understand this question.very sorry for my poor English communication & and sending Questions.
my point is - simply say for - if anybody can change for my system parts, the system will not Boot. The default parts may be placed to return means no problem to boot&contiued,if any parts add or change my system set never boot.
my option is - each hardware parts contain a unique number.so i have used this NO to protect my system, unnecessary to anybody add an additonal parts or change it detect to use the serial no.
For Example: motherboard changed same brand, add 1 more Hard drive & cd drives or changing......
|
|
|
|
|
Basically, you're trying to copy protect your software. In my humble opinion, a fruitless effort.
If you're trying to use hardware serial numbers, you're wasting your time. Most manufacturer don't put serial numbers in their hardware, save for hard drives. But even using hardware is too unreliable and if your software breaks because someone had to replace a motherboard, you just lost a customer because you introduced more downtime to the system than was necessary.
If security is that big of a concern, look into USB security dongles.
|
|
|
|
|
hai Dave Kreskowiak, thank u for guidence.Because i haven't well Knowledge any one Field.Just i have learn intial stage.so guide me.
your solution is correct.But some times usb dongle has failure (or)usb port failure - what we do.
** i have want this type of basic & simple protection rules containing program.After i have changed your idea based program.
** Another one point is- i have using this type of progarm to protect for copy entire primary partition (c . Because the installed progaram files should be clone to copy and run on the another system.It contain a exact same motherboard or partial matched motherboard drivers another system.so it is run easily, so how to protect.
|
|
|
|
|
Member 4235601 wrote: your solution is correct.But some times usb dongle has failure (or)usb port failure - what we do.
Sure, you can get the motherboard or harddrive serial number(s) and use that. But, what if the mobo or drive fails?? The problem is the same.
You simply cannot protect your app against copy protection to the point where it is foolproof. It's been an industry pipe-dream for decades and continues to be such.
Member 4235601 wrote: Another one point is- i have using this type of progarm to protect for copy entire primary partition (c. Because the installed progaram files should be clone to copy and run on the another system.It contain a exact same motherboard or partial matched motherboard drivers another system.so it is run easily, so how to protect.
There is no way to protect against this. Yes, someone can close the partition/drive your app is on and put a copy of it on another machine. There's nothing you can do to stop it.
Now, given your total inexperience, comming up with your own protection scheme is going to be nearly impossible. So, you'll end up using a third party product to (cough) "protect" your app. You can pretty much bet that every one of them has already been cracked, or if it hasn't been on the market that long, WILL be cracked in a very short time.
|
|
|
|
|
The same concept question is:
Now a days in windows based Operating System installation files & other software files contaning partition(primary) of -c: can be copied entirely, and run different system. (they are all using drive image techniques). it's only the same brand & model based system only used.oterwise different there driver files are ocurring the error.
because inner components specification varies on brand & model.
so how if u have protect this copy.
This type of copy, i have decide to using serialNumber to system protection.
send ideas & Solutions my mail id: d.jagadish@hotmail.com
|
|
|
|
|
Good luck with that! This can be broken all too easily.
|
|
|
|
|
|
Member 4235601 wrote: It is provide software security.
There's no such thing...
Member 4235601 wrote: but i have using dirve to use Operating system protection.
Again, it will come down to a single IF statement that can be reverse engineered quite easily and altered so that no matter what the serial is you're looking at, your app will ALWAYS work. Read the comments at the bottom of the article you linked to.
|
|
|
|
|
i have fully collapsed my concept.But i have not want to design higher security level.i have want simple type of prtoection.
so what is the your solution.if u have already told using dongle,but without dongle using how to protect the clone of primary partition(contain operating system) in the hard drive.
if i think the protection should be placed in when the time of cloneing of partition, otherwise if the cloneing files extracted to the other drive, when the time of operating system load to use protection.
give me any idea or if u have design project your own thinking knowledge.
thank u.
|
|
|
|
|
Member 4235601 wrote: i have want simple type of prtoection.
That was funny!
Member 4235601 wrote: so what is the your solution.if u have already told using dongle,but without dongle using how to protect the clone of primary partition(contain operating system) in the hard drive.
Use the code you found in the article you linked to and get a serial number from the hardware. It's about as good as anything else. Just don't be surprised when someone breaks it.
Member 4235601 wrote: or if u have design project your own thinking knowledge.
That's never going to happen. I never tell anyone how I protect my apps - for very obvious reasons.
|
|
|
|
|
Hi
Im havin problems with my connection to my databases.
I have a default connection string hardcoded in the appconfig file.
I have a main form where i use opendialog to connect to another database of my choice. Everything works fine on this form, it connects to the new selected database.
BUT now as soon as i go to a child form, it seems to loose that connection to the selected database and then makes use of the default hard coded string in the appconfig file.
How do i keep the new selected connection over all my forms?
Please if anyone could help me..would greatly appreciate it.
Thanks
|
|
|
|
|
With no code we can't tell where the error is. However, if you create a static string variable in your application for the connection string and use it instead of the configuration connection string (only using the configuration string on start up) then it will likely avoid your issue.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
Thanks for the response.
Did what you said in another project, where i had programmatically created my dataset,binding source and table adapters etc. it worked 100 %.
but the problem with this project is that i drag and dropped the components.
And now when I call the tableadapters.fill() method on the child form, in the autogenerated designer code, it gets its connection string from
ProjectName.Properties.Settings.Default.StaffConnectionString
which is in the app.config file.
Is this one of the limitations of using drag-and-drop components?Or is there a way of working around this?
I really hope there is a way around cos this is going to require alot of recoding.
Thanks again for the response..
|
|
|
|
|
We have been using ADO.Net with all System.Data.SqlClient classes such as SqlConnection. Things worked fine but lately everything is acting up. One of the senior developers suggested to change the connection string to an Odbc connection string. Now leaving aside why he suggested so, this is my question:
I believe if we change the connection string, we also have to change the source from objects such as SqlConnection to OdbcConnection objects. He says we don't and it should be as simple as changing the connection string. Is this true?
I believe the format of the connection string has to be in the correct format for the classes being used. No?
CodingYoshi
Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07
|
|
|
|
|
You mean you didn't code to the interfaces?
Try it and see. If the connection object does not throw an exception when you call open with the connection string it will open. Be aware, however, that the difference in connections provides a difference in features and performance.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
I tried it and threw exception. KeyWord driver not supported.
Ennis Ray Lynch, Jr. wrote: You mean you didn't code to the interfaces? Smile
Even if the previous developers coded to interfaces, it will still not work because you still have to create an object of one of the imlementations. For example:
ISomeInterface i = null;
i = new SomeInterfaceImplemenationA(); // here you have to specify the implementation
I guess I was right.
CodingYoshi
Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07
|
|
|
|
|
Looks like you would have to change all of your code to support the new connection string then.
BTW, when coding to interfaces you only use commonly supported features. A good comparison is the signature for IDbDataParameter and SqlParameter. There are some differences that would have caused code change had you not used the interface. Also, I do like to use (overuse) the factory pattern when coding to interfaces.
Need custom software developed? I do C# development and consulting all over the United States.
If you don't ask questions the answers won't stand in your way.
Doing a job is like selecting a mule, you can't choose just the front half xor the back half so when you ask me to do a job don't expect me to do it half-assed.
|
|
|
|
|
AFAIK SqlConnection cannot use ODBC DSN as a connection (never tested though). Also ODBC drivers cannot handle all the functionality that exists in SqlClient namespace (and it's classes) via SqlConnection.
But even if this would be possible, what's the point to add one layer to the connection. When you connect using ODBC, you still connect to the database using a native library. The ODBC is just a layer on top of that.
So if you don't need cross database functionality (which actually requires a much more than just changing a connection type) I just can't see the point.
CodingYoshi wrote: worked fine but lately everything is acting up.
If this means performance problems etc, ODBC certainly isn't a solution.
|
|
|
|
|
Yeah, what he said.
Ask the "senior developer" to prove it.
And stick with the classes in SqlClient.
|
|
|
|
|
Hello,
How to detect white on a string? eg I have a string type address:
41 street FERDINAND Pertusa
The maximum number of line is 11 characters per line, how can we detect the first block: 41 street and 2nd block: FERDINAND Pertusa?
Thank you verry mutch
|
|
|
|
|
abbd wrote: How to detect white on a string
It does not exist. String data has no color attribute.
|
|
|
|