ManagementPackAssemblyWriterSettings Constructor
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new instance of the ManagementPackAssemblyWriterSettings class.
Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim companyName As String
Dim keyFilePath As String
Dim delaysign As Boolean
Dim instance As New ManagementPackAssemblyWriterSettings(companyName, keyFilePath, delaysign)
Syntax
'Declaration
Public Sub New ( _
companyName As String, _
keyFilePath As String, _
delaysign As Boolean _
)
public ManagementPackAssemblyWriterSettings (
string companyName,
string keyFilePath,
bool delaysign
)
public:
ManagementPackAssemblyWriterSettings (
String^ companyName,
String^ keyFilePath,
bool delaysign
)
public ManagementPackAssemblyWriterSettings (
String companyName,
String keyFilePath,
boolean delaysign
)
public function ManagementPackAssemblyWriterSettings (
companyName : String,
keyFilePath : String,
delaysign : boolean
)
Parameters
- companyName
The name of the company to which the management pack belongs. The value is used for the CompanyName assembly attribute on the sealed management pack assembly.
- keyFilePath
The path of the .snk file that contains a key pair that is used to give the management pack assembly a strong name. The file is usually created by using the sn.exe command-line tool.
- delaysign
A Boolean value that is used in the DelaySign flag when the assembly is created. Set this value to false if you want the assembly to be fully signed, and set this value to true if you want to place the public key in the assembly and reserve space for the signed hash.
Remarks
When you request a fully signed assembly, the compiler hashes the file that contains the manifest (assembly metadata) and signs that hash with the private key. The resulting digital signature is stored in the file that contains the manifest. When an assembly is delay signed, the compiler does not compute and store the signature but reserves space in the file so that the signature can be added later.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ManagementPackAssemblyWriterSettings Class
ManagementPackAssemblyWriterSettings Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace