ManagementPackAssemblyWriterSettings Constructor

Initializes a new instance of the ManagementPackAssemblyWriterSettings class.

Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.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 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 will 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 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,Windows Vista,Windows XP

See Also

Reference

ManagementPackAssemblyWriterSettings Class
ManagementPackAssemblyWriterSettings Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace

Send comments about this topic to Microsoft.