Basic Dot Net Question:
Download Questions PDF

Creating a Key Pair in .NET?

Answer:

You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the command prompt, type the following command:

sn k

In this command, file name is the name of the output file containing the key pair. The following example creates a key pair called sgKey.snk.

sn -k sgKey.snk

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
What is a Manifest in .NET?What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"?