A Strong Name consists of the assembly's identity—its simple text name, version number, and culture information (if provided)—plus a public key and a digital signature. Strong Name is similar to GUID (It is unique in space and time).In COM component we need Strong Name to deploy assembly in GAC.Strong Name to help GAC differentiate between two version. Strong Name use public key cryptography (PKC) that no can spoof it.
How to create Strong Name:
Open visual Studio Command Prompt
Write this code C:\>sn –k “D:\ [FolderName]\ [StrongKeyName.snk]” this code will generate key as shown below:
After write above code you will see a message on Command Prompt window “key Pair written to D:\Sachindra\SharedAssembly.snk” as shown below:
If want to check is Strong Name is created or not go to drive that I have passed in above screen shot and I got Strong Name has created name is “SharedAssembly”as shown below:
Anonymous User
02-Mar-2019Thank You for sharing.
parag patel
09-Nov-2012i creat dll then open in notpad [ YException Exception Show .cctor #d : \ \ l o c a l h o s t . d l l r ]
how can hide this pls help k_info108@yahoo.com