AssemblyName.GetPublicKey Method ()
Gets the public key of the assembly.
Assembly: mscorlib (in mscorlib.dll)
The following example emits a dynamic assembly and saves it to the current directory. When the assembly is created, the SetPublicKey method is used to give the assembly a public key. The method is then used to retrieve the public key, which is displayed to the console.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1