CompilationOptions.CryptoPublicKey 属性

定义

指定用于为编译程序集生成强名称的公钥,如果未指定,则为空。

public:  property System::Collections::Immutable::ImmutableArray<System::Byte> CryptoPublicKey {  public:
System::Collections::Immutable::ImmutableArray<System::Byte> get(); protected:
 void set(System::Collections::Immutable::ImmutableArray<System::Byte> value); };
public System.Collections.Immutable.ImmutableArray<byte> CryptoPublicKey { get; protected set; }
member this.CryptoPublicKey : System.Collections.Immutable.ImmutableArray<byte> with get, set
Public Property CryptoPublicKey As ImmutableArray(Of Byte)

属性值

注解

如果指定了值 CryptoKeyFile ,并且 CryptoKeyContainer 必须为 null。 如果 PublicSign 为 true,则程序集标记为完全签名,但仅使用公钥签名 (“OSS 签名”) 。

适用于