This documentation is archived and is not being maintained.

ApplicationId.ApplicationId Constructor

Initializes a new instance of the ApplicationId class.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public ApplicationId (
	byte[] publicKeyToken,
	string name,
	Version version,
	string processorArchitecture,
	string culture
public ApplicationId (
	byte[] publicKeyToken, 
	String name, 
	Version version, 
	String processorArchitecture, 
	String culture
public function ApplicationId (
	publicKeyToken : byte[], 
	name : String, 
	version : Version, 
	processorArchitecture : String, 
	culture : String
Not applicable.



The array of bytes representing the raw public key data.


The name of the application.


A Version object that specifies the version of the application.


The processor architecture of the application.


The culture of the application.

Exception typeCondition


name is a null reference (Nothing in Visual Basic).


version is a null reference (Nothing in Visual Basic).


publicKeyToken is a null reference (Nothing in Visual Basic).


name is an empty string.

The constructor initializes the Culture, Name, ProcessorArchitecture, PublicKeyToken, and Version properties of the ApplicationId.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0