Get the public key for the InternalsVisibleTo attribute from a string name key pair file:

Get the public key for the InternalsVisibleTo attribute from a strong named assembly: