Obfuscating a mixed-mode assembly or other means of protection [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have created a VSTO application which references a mixed-mode assembly (managed c++ DLL). The main algorithm which needs to be protected exists in this DLL. I have looked at a comprehensive list of .NET obfuscators and I cannot see a free/reasonably cheap version that I can use [1]. Is there any other method besides obfuscation that I can use to protect the DLL's source code, and ultimately the algorithm, from being revealed too easily?
[1] http://en.wikipedia.org/wiki/User:Scatophaga/Comparison_of_.NET_obfuscators

The only way to keep your code safe is to keep it out of the hands of the users. You can put critical code in a web service, and let the application call it. Unless the user can actually hack the server and get to the code, it's completely safe from decompiling. The downside is that the app needs internet connection to work.
Using an obfuscator will make it a lot harder to decompile the code, but it's still not safe.
One of the best obfuscators I've used and i highly recommend is Confuser. it's free, easy to use and
at the moment it can't be reversed by 1-click tools that you find on the web like de4dot.

Related

File monitor- c# or c++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am developing a file monitor to monitor file access of any exe. I monitor that exe for any file it opens/closes,reads/writes and collect the stats.
I am total newcomer to ETW (as from my research, it does not look there is any other way to do this.)
while I have been able to get some c++ code going, my client would prefer a c# solution.is there enough support in c# to monitor file io?
the samples in msdn are c++/c specific. I read vance Morrison's blogs.but its beyond me at the moment and they don't seem to suit "nt kernel logging sessions/ monitor file io" scenarios.
can anyone give me a simple sample or point me to a useful link ? any inputs is welcome on this.
In windows, ultimately any file access is granted, by the underlying winapi. See CreateFile and familly. These functions are hook-able by Microsoft Detours (though it is intended for instrumention purposes). There are also a handfull of other libraries for this sort of purposes e.g. easyhook.
Take a look at the FileSystemWatcher class.

How to extract .dll file in c#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am new to .NET application development. Involving one project, there are three modules like Interface layer, Business layer, and Data layer; I built these and I got .dll file.
But I lost the source code of one .dll file.
I'd like to extract the .dll and get the same source code. Is it possible to extract my source code from the .dll file?
I really like JetBrains dotPeek, it's free and easy to use.
Used it for same purposes
Try ILSpy, an open-source .NET assembly browser and decompiler (it requires the .NET Framework 4.0).

Library or app to dynamically compare two dbs and suggest transform scripts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I did a search online and was not able to find any tool or app that were designed to do this. I am looking for a set of C# class libraries you can link or reference into your code, or external command-line application that would allow me to dynamically compare two database schemas and generate scripts for transforming one database into the other, without loosing any data in a relatively speedy fashion. All tools I have seen so far, works in a static manner, i.e. you are comparing one db to the next to generate change scripts on your own local system. I am planning to include this in an installer, so it will run on a remote system therefore making it critical that it is possible to automate the process. Also licensing should be somewhat successible to that fact, i.e. a small fee per install is acceptable, or a larger one time fee and no inclusion fee.
Redgate can do that. Try their site http://www.red-gate.com/products/sql-development/sql-compare/

Convert VB.NET code to C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a library that I can use to convert VB.Net code into C#? There is http://codeconverter.sharpdevelop.net/ but i don't want to use it from a web service.
Open your assembly in .NET Reflector. Choose language C#. Copy/paste source code to Visual Studio. Try to compile.
There are plenty online services: Telerik provides one, here's one other and one of the best is on developer fusion. But these are all online.
I've had good experiences with Instant C# of Tangible Solutions, they provide good services for each bug you encounter after conversion. Other than that, many others are available through Google.
If you use Reflector, a few notes: it doesn't translate your source code, but the compiled code. This can make a huge difference in logic inside methods and above all, you loose all your (xml) comments and possibly your file structure (partial classes are not recognized, for instance). Reflector is virtually unusable when it comes to ASPX and inline code. But it is an excellent free tool in all other respects
Just download SharpDevelop 4.4, it contains the same converter for offline use.
Actually, the SharpDevelop converter is even better than the online converter as it can take a look at your whole project and your references.
The SharpDevelop source code repository also contains the full source code for that website. It's all open source.

Business Workflow Software [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Any recommends here? I need something that can take a set of processes and batch them together. For example, I need to:
1) execute some sql
2) run C# snippets
3) have checkpoint steps with human interaction (i.e. send off an email at step X and wait for a user to review a result and click continue etc...)
If you are using C#, you might as well use the Windows Workflow Framework that's part of 3.5. That is pretty much exactly what it's used for.
I use Captaris Workflow for that. Quite expensive but it works really well.
Depends on how much you're willing to code vs how much you're willing to pay. You could code it all in "plain" .NET code for "free". Next step up would be using Windows Workflow, though you'd still need to code the "human interaction" steps. Slightly more expensive would be a tool like FinalBuilder or Automiser, which would mean less code for you to write, and a more visual workflow designer. Even more expensive- but allowing for potentially no code- would be an enterprise system like BizTalk, MetaStorm, K2, etc.

Categories