In 1.1 I used to use a WebControlLibrary to hold code I didn't want to
expose when I distributed a component. The code would compile to a separate
dll and could not be viewed when used in a vs.net project. That worked fine
and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also
compiles to a separate dll. However when I distribute the dll, the source
code is still visible when debugging in vs.net. Am I doing something wrong
here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in
2.0 or is there a better alternative.
Thanks,
T 7 1536
>The code would compile to a separate
dll and could not be viewed when used in a vs.net project.
Not sure what you mean here, if the dll is available to the client, the
source code is wide open for viewing purposes. Wide open. About the best you
can do is obfuscate it and that will make it a bit more difficult to
decompile.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to
expose when I distributed a component. The code would compile to a
separate dll and could not be viewed when used in a vs.net project. That
worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also
compiles to a separate dll. However when I distribute the dll, the source
code is still visible when debugging in vs.net. Am I doing something
wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in
2.0 or is there a better alternative.
Thanks,
T
A quick thought, are you sure you compiled the 2.0 version in release mode,
rather than debug?
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to
expose when I distributed a component. The code would compile to a
separate dll and could not be viewed when used in a vs.net project. That
worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also
compiles to a separate dll. However when I distribute the dll, the source
code is still visible when debugging in vs.net. Am I doing something
wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in
2.0 or is there a better alternative.
Thanks,
T
Alvin:
Compiled dlls have MSIL code but not the real source code. Right?
I'm seeing the source code - comments and all. Why would a dll need the
source code?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message
news:OY**************@TK2MSFTNGP04.phx.gbl...
The code would compile to a separate
dll and could not be viewed when used in a vs.net project.
Not sure what you mean here, if the dll is available to the client, the
source code is wide open for viewing purposes. Wide open. About the best
you can do is obfuscate it and that will make it a bit more difficult to
decompile.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net project. That worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also compiles to a separate dll. However when I distribute the dll, the source code is still visible when debugging in vs.net. Am I doing something wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in 2.0 or is there a better alternative.
Thanks,
T
Tina,
I'm guessing that your distributed project in on the same machine as the
source file and a reference is maintained to the source because you
connected to the dll via reference. The dlls contain msil but not your real
source. Move it to another computer and try again.
However, msil exposes your code to anyone really wanting to steal your
intellectual property. A good article on this issue I found is at http://www.aspnetpro.com/opinion/200...200208jg_o.asp .
You can always use NGen.exe if you are only going to run on Windows
platforms (duh).
See you at the meeting this afternoon.
--
Regards,
Gary Blakely
Dean Blakely & Associates www.deanblakely.com
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to
expose when I distributed a component. The code would compile to a
separate dll and could not be viewed when used in a vs.net project. That
worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also
compiles to a separate dll. However when I distribute the dll, the source
code is still visible when debugging in vs.net. Am I doing something
wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in
2.0 or is there a better alternative.
Thanks,
T
As I said, it's rather easy to take a dll and pop it into full source code
with tools like salamangar. In fact, the salamagar tool even goes as far as
showing you the original code comments along with exact variable names etc
etc.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Alvin:
Compiled dlls have MSIL code but not the real source code. Right?
I'm seeing the source code - comments and all. Why would a dll need the
source code?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message
news:OY**************@TK2MSFTNGP04.phx.gbl...
>The code would compile to a separate
dll and could not be viewed when used in a vs.net project. Not sure what you mean here, if the dll is available to the client, the source code is wide open for viewing purposes. Wide open. About the best you can do is obfuscate it and that will make it a bit more difficult to decompile.
-- ________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl...
>>In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net project. That worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also compiles to a separate dll. However when I distribute the dll, the source code is still visible when debugging in vs.net. Am I doing something wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in 2.0 or is there a better alternative.
Thanks,
T
I looked at my dll with a hex viewer. The source code is not there. The
msil is. The comments are not there.
is this a free tool?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
As I said, it's rather easy to take a dll and pop it into full source code
with tools like salamangar. In fact, the salamagar tool even goes as far
as showing you the original code comments along with exact variable names
etc etc.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Alvin: Compiled dlls have MSIL code but not the real source code. Right?
I'm seeing the source code - comments and all. Why would a dll need the source code?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message news:OY**************@TK2MSFTNGP04.phx.gbl...
>>The code would compile to a separate dll and could not be viewed when used in a vs.net project. Not sure what you mean here, if the dll is available to the client, the source code is wide open for viewing purposes. Wide open. About the best you can do is obfuscate it and that will make it a bit more difficult to decompile.
-- ________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl.. . In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net project. That worked fine and I assume it will still work fine in 2.0.
However, in 2.0 I tried to use a simple Class library project that also compiles to a separate dll. However when I distribute the dll, the source code is still visible when debugging in vs.net. Am I doing something wrong here or do class library dlls contain source code?
To do what I want to do should I continue to use the WebControlLibrary in 2.0 or is there a better alternative.
Thanks,
T
No but you can test it here http://www.remotesoft.com/salamander/ the
results should convince you that intellectual property protection in
applications is not really possible - although the same people at the link
above claim to have an obfuscator that is bullet proof. However, at some
point in time, the cpu needs unobfuscated code to execute...
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message
news:O1**************@TK2MSFTNGP04.phx.gbl...
>I looked at my dll with a hex viewer. The source code is not there. The msil is. The comments are not there.
is this a free tool?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>As I said, it's rather easy to take a dll and pop it into full source code with tools like salamangar. In fact, the salamagar tool even goes as far as showing you the original code comments along with exact variable names etc etc.
-- ________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
>>Alvin: Compiled dlls have MSIL code but not the real source code. Right?
I'm seeing the source code - comments and all. Why would a dll need the source code?
T
"Alvin Bruney [MVP]" <www.lulu.com/owcwrote in message news:OY**************@TK2MSFTNGP04.phx.gbl... The code would compile to a separate dll and could not be viewed when used in a vs.net project. Not sure what you mean here, if the dll is available to the client, the source code is wide open for viewing purposes. Wide open. About the best you can do is obfuscate it and that will make it a bit more difficult to decompile.
-- ________________________ Warm regards, Alvin Bruney [MVP ASP.NET]
[Shameless Author plug] Professional VSTO.NET - Wrox/Wiley The O.W.C. Black Book with .NET www.lulu.com/owc, Amazon Blog: http://www.msmvps.com/blogs/alvin -------------------------------------------------------
"Tina" <Ti**********@nospamexcite.comwrote in message news:%2****************@TK2MSFTNGP06.phx.gbl. .. In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net project. That worked fine and I assume it will still work fine in 2.0. > However, in 2.0 I tried to use a simple Class library project that also compiles to a separate dll. However when I distribute the dll, the source code is still visible when debugging in vs.net. Am I doing something wrong here or do class library dlls contain source code? > To do what I want to do should I continue to use the WebControlLibrary in 2.0 or is there a better alternative. > Thanks, > T > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nick Dreyer |
last post by:
In VB.NET I would like to not have to create property get/set procedures for
every class variable I want to expose to Excel VBA projects in COM builds.
Can anyone tell me if that is possible, or...
|
by: Teis Draiby |
last post by:
What does it take to expose MC++ functions to C#? (Component/Assembly/?/?)
I just ordered books on the topic at Amazon but just I can't wait getting
started. I would be very happy to get some clues...
|
by: cipher |
last post by:
I have some constant values in my web service that my client application will
require. Having to keep server side and client side definitions insync is
tedious. I am trying to do something like...
|
by: Miguel Ferreira via .NET 247 |
last post by:
Hi !
I have developed a class Library with several classes and methods. Its working fine with a windows forms test application, but now i need to create a webservice that will expose those...
|
by: Frank Rizzo |
last post by:
Hello, how can I expose events in a vb.net class to a vb6 client?
'Here is the vb.net code
<GuidAttribute("1b08d99b-cb12-420e-bb47-4ec73795bd9c")> _
<ClassInterface(ClassInterfaceType.AutoDual)>...
|
by: MisterT |
last post by:
Hello,
I have a web service that updates an SQL database thru a web service. I
would like to expose the database table so I can easily add it as a Data
Source in VS 2005 to program the web...
|
by: GoCoogs |
last post by:
I'm trying to count how many items are in a dynamic collection. This is
the
code I have so far.
*** Begin Code ***
Public Class Rule
Private _rulevars As RuleVarsCollection
Private _rulename...
|
by: Lennart Nielsen |
last post by:
How can I expose my Windows application to being captured as a session by an
add-in in another application. I have some data in one application that I
would like to import into FrameMaker via an...
|
by: inga2005 |
last post by:
Hi! Is there a way to expose all the methods in a .net dll written i
C# as a web service without having to do it method by method but just
as a transparent layer?
/erik
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |