CompilationOptions.CryptoKeyContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.