P
Peter
Hello
How can I ensure that a assembly (dll) is not manipulated (e.g.
hexeditor).
I thought that sign the assembly (snk-File), this ensures.
I have tried the following.
1.
Create assembly Test.Dll with AssemblyVersionAttribute("1.1.*") and
sign with Test.snk (Property-Page and/or
AssemblyKeyFileAttribute(@"Test.snk")
2.
Create UseTest.Exe with reference to Test.Dll.
--> Now UseTest.Exe requires the desired Test.Dll, ok
However, I can manipulate Test.dll (Hexeditor) an use it !! e.g.
Class Test1 in Test.Dll
public class Test1
{
public static void SayHallo()
{
System.Windows.Forms.MessageBox.Show("Hallo Peter");
}
}
Change text Hallo Peter with hexeditor to Hallo Qeter
Do I something wrong ?
or is signing not at all thought my problem ?
Is there built in mechanism to "checksum" a assembly
thank you
Peter
How can I ensure that a assembly (dll) is not manipulated (e.g.
hexeditor).
I thought that sign the assembly (snk-File), this ensures.
I have tried the following.
1.
Create assembly Test.Dll with AssemblyVersionAttribute("1.1.*") and
sign with Test.snk (Property-Page and/or
AssemblyKeyFileAttribute(@"Test.snk")
2.
Create UseTest.Exe with reference to Test.Dll.
--> Now UseTest.Exe requires the desired Test.Dll, ok
However, I can manipulate Test.dll (Hexeditor) an use it !! e.g.
Class Test1 in Test.Dll
public class Test1
{
public static void SayHallo()
{
System.Windows.Forms.MessageBox.Show("Hallo Peter");
}
}
Change text Hallo Peter with hexeditor to Hallo Qeter
Do I something wrong ?
or is signing not at all thought my problem ?
Is there built in mechanism to "checksum" a assembly
thank you
Peter