---
title: "What is Strong Name in Assembly?"  
description: "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"  
author: "Sachindra Singh"  
published: 2011-02-11  
updated: 2019-09-07  
canonical: https://www.mindstick.com/articles/440/what-is-strong-name-in-assembly  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# What is Strong Name in Assembly?

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:

![Strong Name](https://www.mindstick.com/mindstickarticle/4fbdb862-6fe6-41d6-b17a-b6bec0d1dcae/images/1013f68e-9855-4cd6-807e-c393171cba0a.png)

After write above code you will see a message on Command Prompt window **“key Pair written to D:\Sachindra\SharedAssembly.snk”** as shown below:

![Strong Name](https://www.mindstick.com/mindstickarticle/4fbdb862-6fe6-41d6-b17a-b6bec0d1dcae/images/f3bf93a0-e8bd-4cce-a545-00540805589e.png)

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:

![Strong Name](https://www.mindstick.com/mindstickarticle/4fbdb862-6fe6-41d6-b17a-b6bec0d1dcae/images/58bbfc8c-e90d-4c07-ab7b-690bf63ae3f1.png)

---

Original Source: https://www.mindstick.com/articles/440/what-is-strong-name-in-assembly

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
