C
Carl Forsman
In a C# project why people need to use a Key file like the following:
===============================
* Execute the command:
sn.exe -k ManagedReaderLibrary.pfx
* In the Property Pages windows, click on 'Configuration Properties'
followed by 'Linker'. Under the 'Key File' option enter the
following:
ManagedReaderLibrary.pfx
* Click on the 'Signing' tab and if the 'Sign the assembly' option is
not checked, do so now.
* In the 'Choose a strong name key file:' combo box, select the
<New...> option. This will open a new dialog box where you will enter
a name for a new key file and ( optional ) key file password. Once
you have entered this information click OK.
===============================
I assume the ManagedReaderLibrary.pfx is a private key file? or a
certificate?
Is this C# specific procedure? to make the code more secure by signing
the code with a public key / private key / digital signature so no
other people can fake your own code / program / virus?
Is that all C# project must do the above procedure?
then strong name is C# specific and it is used to sign you code to
make it unquie and no one can release the code with your own private
key?
===============================
* Execute the command:
sn.exe -k ManagedReaderLibrary.pfx
* In the Property Pages windows, click on 'Configuration Properties'
followed by 'Linker'. Under the 'Key File' option enter the
following:
ManagedReaderLibrary.pfx
* Click on the 'Signing' tab and if the 'Sign the assembly' option is
not checked, do so now.
* In the 'Choose a strong name key file:' combo box, select the
<New...> option. This will open a new dialog box where you will enter
a name for a new key file and ( optional ) key file password. Once
you have entered this information click OK.
===============================
I assume the ManagedReaderLibrary.pfx is a private key file? or a
certificate?
Is this C# specific procedure? to make the code more secure by signing
the code with a public key / private key / digital signature so no
other people can fake your own code / program / virus?
Is that all C# project must do the above procedure?
then strong name is C# specific and it is used to sign you code to
make it unquie and no one can release the code with your own private
key?