.net sukbir

Dear All,

I am developing a windows application using c# codes. What I first want to do is to enable that my application do a authorization where the pc is a valid one to run my software or not. Secondy how can I protect my exe files from being decompile. Thirdly how to give it a license and for it to run based on a license. Thanks.



Re: Visual C# Language C# codes.

RizwanSharp

To avoid decompilation, you can use some comercial obfuscation tool. I would recomend using {smartassembly} which is cheaper in price than others.

To create licensing see 2 articles on www.codeproject.com

  1. Use Xml Digital Signatures for application Licensing
  2. Application Trial Maker.

First has adopted a very good fool proof approach while the second articles tesll you that how to generate a Unique Id based on computer hardware.

So you have to read both to get some good work done.

Best Regards,

Rizwan aka RizwanSharp






Re: Visual C# Language C# codes.

.net sukbir

Dear Rizwan,

Is there anyway other than using obfuscation tool. to protect my codes. I cant search for the article Use Xml Digital Signatures for application Licensing. I really appreciate if you can guide me further cause I need to protect my certain part of my codes. Thanks.





Re: Visual C# Language C# codes.

RizwanSharp

What type of way do you need Obfuscation makes you application more complex to be understood even then i can't stop decompilation. There are also some Protectors avaiable, I tested Eziriz once but was not hapy with its performace, Though it stopped compilation but My application's performance got poor and it started consuming about 15 MB more memory than before :(.

Anyhow here is that article which i was refering to:

http://www.codeproject.com/dotnet/xmldsiglic.asp

And here are other which may help in the same task:

http://www.codeproject.com/dotnet/xmldsiglic.asp

http://www.codeproject.com/csharp/ComputerID.asp

But your main focus should be on those which i had mentioned in my last post.

Best Regards,

Rizwan aka RizwanSharp






Re: Visual C# Language C# codes.

.net sukbir

Dear Rizwan,

I guess in my case I need a protector. I have tried the trial version of Eziriz How reliably is it from your point of view How can I know if it is eating more memory Do your know of any other protectors Can I have list of them. O k I will read through your articles. Thanks man.





Re: Visual C# Language C# codes.

RizwanSharp

There are many protectors, its difficult to list them all :)

see yourself.

http://www.google.com.pk/search hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=.Net+Protector&spell=1

Salamander may be good but its realy expensive.

You can see Memory usage of your application before and after protection with Eziriz using Task Manager (Not Good) but there are toold like FileMon etc to see what's consumed by which application.

Protectors may help in safegaurd your application but then you can loose some features of .Net but it depends on your need. Whatever you choose to buy i would recommend usinf trial before and then buy them, compare prices, compare application size before and after, compare memory usage before and after, CPU usage (Task Manager will help).

I hope this will help you.

Best Regards,

Rizwan aka Rizwan.






Re: Visual C# Language C# codes.

.net sukbir

Dear Rizwan,

Thanks for your advice. Infact I find Eziriz is quite good. So I will try to use FileMon to see how it is effecting my memory usage before and after using it. Thanks and keep in touch.





Re: Visual C# Language C# codes.

RizwanSharp

You are more than Welcome.

And YOu dont remember but I do we have talked on Yahoo Chat (Prgramming Chat room) I may be with the name RizwanSharp or goshi_jinn.

In my personal test about 8 months back I didnot like Eziriz due to performance hit. May be they have a newer/improved version now.

Anyhow, Best of luck and Best Regards,

Rizwan aka RizwanSharp






Re: Visual C# Language C# codes.

.net sukbir

Dear Rizwan,

If you dont mind what is your contact email pls. Thanks man you did helped me a lot.





Re: Visual C# Language C# codes.

RizwanSharp

See my profile :).

Best regards,

Rizwan aka RizwanSharp