CompilationOptions.CryptoPublicKey Property

Definition

Specifies public key used to generate strong name for the compilation assembly, or empty if not specified.

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)

Property Value

Remarks

If specified the values of CryptoKeyFile and CryptoKeyContainer must be null. If PublicSign is true the assembly is marked as fully signed but only signed with the public key (aka "OSS signing").

Applies to