Sets the public key identifying the assembly.
publicKey A byte array containing the public key of the assembly.
You must also use the AssemblyName.SetPublicKeyToken(Byte[]) method to provide a public key token. Otherwise, a System.Security.SecurityException is thrown when the AssemblyName.GetPublicKey method is called.