¡@

Home 

c# Programming Glossary: protect

Public Fields versus Automatic Properties

http://stackoverflow.com/questions/1180860/public-fields-versus-automatic-properties

versus Automatic Properties We're often told we should protect encapsulation by making getter and setter methods properties..

A way of casting a base type to a derived type

http://stackoverflow.com/questions/124336/a-way-of-casting-a-base-type-to-a-derived-type

base derived types. An oddity of Microsoft trying to protect you against yourself. Ah well at least they're no where near..

How can I protect my .NET assemblies from decompilation?

http://stackoverflow.com/questions/2478230/how-can-i-protect-my-net-assemblies-from-decompilation

can I protect my .NET assemblies from decompilation One if the first things.. but they are very expensive. Is there any other way to protect my applications EDIT The reason for my question is not to prevent..

Asp.Net MVC 2 - Bind a model's property to a different named value

http://stackoverflow.com/questions/4316301/asp-net-mvc-2-bind-a-models-property-to-a-different-named-value

names of the class and its properties have been changed to protect their identities public class MyExampleModel public string LongPropertyName..

How can I create a Product Key for my C# App

http://stackoverflow.com/questions/453030/how-can-i-create-a-product-key-for-my-c-sharp-app

verification code Web based license activation How do you protect your software from illegal distribution Best activation key..

Protect .NET code from reverse engineering?

http://stackoverflow.com/questions/506282/protect-net-code-from-reverse-engineering

reverse engineering Obfuscation is one way but it can't protect from breaking the piracy protection security of the application... is one way but it can't protect from breaking the piracy protection security of the application. How do I make sure that the.. peoples' trouble. Some suggestions I have for you to help protect your application Obfuscate your code. Dotfuscator has a free..

C# DLL config file

http://stackoverflow.com/questions/594298/c-sharp-dll-config-file

it to facilitate easy upgrading updating of the app and to protect installed apps from trampling each others configuration files... instance. This will cut you off from the version protection offered by the automatic path generation mechanism. Statistically.. after. And finally you'll need a lock mechanism to protect the file while it's being edited by one of the apps that use..

lock keyword in C#

http://stackoverflow.com/questions/59590/lock-keyword-in-c-sharp

it makes sense with multi threaded applications because it protects the data. But is it necessary when the application does not.. When should the lock be used A lock should be used to protect shared resources in multithreaded code. Not for anything else...

Should you obfuscate a commercial .Net application?

http://stackoverflow.com/questions/71195/should-you-obfuscate-a-commercial-net-application

of code in court having been seen to make an effort to protect it by obfuscating it may give you extra points. You do have..

Is it appropriate to extend Control to provide consistently safe Invoke/BeginInvoke functionality?

http://stackoverflow.com/questions/714666/is-it-appropriate-to-extend-control-to-provide-consistently-safe-invoke-begininv

message pump and making the application unstable. You can protect against this case by also checking the value of IsHandleCreated..

C# Events and Thread Safety

http://stackoverflow.com/questions/786383/c-sharp-events-and-thread-safety

seems that way a lot of people must be taking this step to protect their code from multiple threads when in reality it seems to.. abuse of your component. If you want your component to be protected from abuse you could follow the example of WPF store the thread.. adding mess and noise to your code. To actually protect against other threads requires a lot more work. Update in response..

Why is JsonRequestBehavior needed?

http://stackoverflow.com/questions/8464677/why-is-jsonrequestbehavior-needed

mvc 3 security share improve this question This is to protect against a very specific attack with JSON requests that return.. However MVC puts this in with DenyGet as the default to protect you against this attack. It makes you consider the implications..

Using C#, how does one figure out what process locked a file?

http://stackoverflow.com/questions/860656/using-c-how-does-one-figure-out-what-process-locked-a-file

the only two I've tested on so far and uses threads to protect against some nasty Win32 bugs. Mostly stuff found on the Internet...

Seeking clarification on apparent contradictions regarding weakly typed languages

http://stackoverflow.com/questions/9929585/seeking-clarification-on-apparent-contradictions-regarding-weakly-typed-language

wrong then the runtime will throw an exception in order to protect type safety. If the developer wishes to break type safety or..