Anakrino

  • Thread starter Thread starter Dmitri Shvetsov
  • Start date Start date
D

Dmitri Shvetsov

Hi friends,

Who knows something else except Anakrino http://www.saurik.com/net/exemplar/
or
Salamander http://www.remotesoft.com/salamander/
to get the source code of C#.NET exe/dll?

It's really interesting to get a compilable code instead of promises.

What's interesting in Anakrino, the IDE works good and shows me everything
correctly but the command line tool "Exemplar.exe" works very bad and the
code differs from the IDE's. Does somebody know some features or keys of
this program? I couldn't find any description.

Thanks.
Dmitri Shvetsov
(e-mail address removed)
 
Hi,

Thanks a lot, but do you know how can I get a CS file to compile it after
some changes? Is it possible using this program? Or I need to walk step by
step inside IDE to look at the code without possibility to recompile it?

Thanks.

Dmitri Shvetsov
(e-mail address removed)
 
Dmitri,

It should be pointed out that unless you wrote the code yourself (or are
a member of an organization that owns the code), you shouldn't be trying to
alter it and recompile it, as you are probably violating either an explicit
copyright or an implicit copyright (for work produced in the States), or
some other law guarded to protect intellectual property (elsewhere).

That being said, you probably won't be able to get it to compile because
the class most likely relies on other classes in the same assembly, so you
would have to extract all of the source code and recompile. Of course, if
there are other assemblies that reference that one, it certainly won't
reference your code, so you might not get the effect you desired.

If this class is part of a larger framework, then it is probably not
worth it.
 
Hi,

Thanks for the answer. You know we had 2 purposes of these investigations.
We needed to know if somebody can decompile our code and what kind of code
he can get. And the second problem - we have a lot of code in VB6 that
should be converted to .NET. One of the possible ways to do that - to go to
VS.NET, compile and disassemble to C#. I think that we almost reached both
purposes.

Of course, if we can find the tool to convert the source codes it would be
fine, I think now that it's possible.

Regards,
Dmitri Shvetsov

"Nicholas Paldino [.NET/C# MVP]"
Dmitri,

It should be pointed out that unless you wrote the code yourself (or are
a member of an organization that owns the code), you shouldn't be trying to
alter it and recompile it, as you are probably violating either an explicit
copyright or an implicit copyright (for work produced in the States), or
some other law guarded to protect intellectual property (elsewhere).

That being said, you probably won't be able to get it to compile because
the class most likely relies on other classes in the same assembly, so you
would have to extract all of the source code and recompile. Of course, if
there are other assemblies that reference that one, it certainly won't
reference your code, so you might not get the effect you desired.

If this class is part of a larger framework, then it is probably not
worth it.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Dmitri Shvetsov said:
Hi,

Thanks a lot, but do you know how can I get a CS file to compile it after
some changes? Is it possible using this program? Or I need to walk step by
step inside IDE to look at the code without possibility to recompile it?

Thanks.

Dmitri Shvetsov
(e-mail address removed)

and
the
keys
 
Thanks for the answer. You know we had 2 purposes of these investigations.
We needed to know if somebody can decompile our code and what kind of code
he can get.

Pretty much the exact source code, unfortunately. Do a search for
"obfuscator" in this group or on Google, that should bring up a list
of tools that can help you make the decompiled code slightly less
readable. Decompilation is always possible with .NET, though.
And the second problem - we have a lot of code in VB6 that
should be converted to .NET. One of the possible ways to do that - to go to
VS.NET, compile and disassemble to C#. I think that we almost reached both
purposes.

When you've recompiled VB6 with VS.NET you've already converted it to
VB.NET. That's a 100% .NET language which is roughly equivalent to
C#, and C# assemblies can interoperate with VB.NET assemblies without
any further conversion. Since you're already fluent with VB I would
advise against your planned conversion to C#.
 
Back
Top