[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

Visual Basic
Dim companyName As String
Dim keyFilePath As String
Dim delaysign As Boolean

Dim instance As New ManagementPackAssemblyWriterSettings(companyName, keyFilePath, delaysign)

Syntax

Visual Basic
Public Sub New ( _
		companyName As String, _
		keyFilePath As String, _
		delaysign As Boolean _
)
C#
public ManagementPackAssemblyWriterSettings (
		string companyName,
		string keyFilePath,
		bool delaysign
)
C++
public:
ManagementPackAssemblyWriterSettings (
		String^ companyName, 
		String^ keyFilePath, 
		bool delaysign
)
J#
public ManagementPackAssemblyWriterSettings (
		String companyName, 
		String keyFilePath, 
		boolean delaysign
)
JScript
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 to the .snk file containing a key pair that is used to give the management pack assembly a strong name. The file is usually created with the sn.exe command-line tool.

delaysign

A Boolean value 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also