What is the concept of strong names, DOT NET Programming

concept of strong names

Strong name is similar to GUID(It is supposed to be unique in space and time) in the COM components.Strong Name is only needed when we need to deploy assembly in the  GAC. Strong Names helps GAC in differentiation b/w the two versions. Strong names use the public key cryptography (PKC) to ensure that no one can spoof it ever.PKC use the concept of public key and private key concept.

Following are the steps  to generate a strong name and sign a assembly :-

(1) Go to "Visual Studio Command Prompt". See figure "Visual studio Command Prompt". Please Note that the samples are compiled in 2005 but 2003 users do not have to worry about it. Same type of command prompt will display in 2003 also.

 

411_visualstudio command prompt.jpg


(2) When you are in command prompt type sn.exe -k "c:\test.snk".

63_runing sn.exe

1028_succ op of sn.exe



(3) After generation of the file  view the SNK file in a simple notepad.

(4) After the SNK file is generated its time to sign project with this SNK file.

(5) Click on project -- properties and the browse the SNK file to the respective folder and compile the project.

 

 

 

49_click on lib.jpg

Posted Date: 9/18/2012 7:04:22 AM | Location : United States







Related Discussions:- What is the concept of strong names, Assignment Help, Ask Question on What is the concept of strong names, Get Answer, Expert's Help, What is the concept of strong names Discussions

Write discussion on What is the concept of strong names
Your posts are moderated
Related Questions
What is a delegate? A delegate is similar to a class that is used for storing the reference to a method and invoking that method at runtime, as needed. A delegate can hold the

Converting Rs. to Paisa - C# Program Need the code of C# Program for Converting Rs. to Paisa.

What is the Append Format for FileUpload Control in ASP.Net? What it specify?

What is DBCC? The Database Consistency Checker Commands (DBCC) is used to check the logical and physical consistency of the database structure.The DBCC statements can fix and d

Need desktop application for inventory system Project Description: For my distribution unit, I want inventory system (purchase / sale / returns / reports ) based on customize

Briefly explain what user controls are and what server controls are and the differences among the two.   An ASP.NET control (sometimes known as a server control) is a server-si

Script for auto seating poker Project Description: Not just like that though. I need a similar program that can scan during poker lobbys (pokerstars, ipoker, full tilt and on

Project Description: My needs are simple; the application will: - Get the results of a Google search query (The title, URL, the description, time posted) - Apply definite

I want Text/Image printing Counter Project Description: Need your help in our C# programming project. We need to pass this project in two weeks starting from now to pass our

Perform Arithmetic operations on Floating Values - C# Program Hello, I've been trying so many codes for this but those codes didn't work well. Please write the code for Perfor