Showing posts with label What is the use of SN.exe?. Show all posts
Showing posts with label What is the use of SN.exe?. Show all posts

Wednesday 16 July 2014

What is the use of SN.exe?

SN.exe is used to generate public/private key pair.

Example:

SN –k MyKey.snk


The above line tells SN.exe to create a file called MyKey.snk. This file will contain the public and private key numbers persisted in a binary format.

Output:

Microsoft (R) .NET Framework Strong Name Utility Version 3.5.21022.8

Copyright (c) Microsoft Corporation. All rights reserved.



Key pair written to MyKey.snk