StrongNameKeyPair.PublicKey 属性

定义

获取密钥对的公钥或公钥令牌的公共部分。

public:
 property cli::array <System::Byte> ^ PublicKey { cli::array <System::Byte> ^ get(); };
public byte[] PublicKey { get; }
member this.PublicKey : byte[]
Public ReadOnly Property PublicKey As Byte()

属性值

Byte[]

包含密钥对公钥或公钥令牌的类型 byte 数组。

例外

仅限 .NET Core 和 .NET 5+ :在所有情况下。

适用于

另请参阅