CompilationOptions.CryptoKeyContainer Property

Definition

The CSP container containing the key with which to sign the output.

public:  property System::String ^ CryptoKeyContainer {  public:
System::String ^ get(); protected:
 void set(System::String ^ value); };
public string CryptoKeyContainer { get; protected set; }
public string? CryptoKeyContainer { get; protected set; }
member this.CryptoKeyContainer : string with get, set
Public Property CryptoKeyContainer As String

Property Value

Remarks

To sign the output supply either one of CryptoKeyFile or CryptoKeyContainer. but not both. If both are specified CryptoKeyContainer is ignored.

This setting is obsolete and only supported on Microsoft Windows platform. Use CryptoPublicKey to generate assemblies with strong name and a signing tool (Microsoft .NET Framework Strong Name Utility (sn.exe) or equivalent) to sign them.

Applies to