This documentation is archived and is not being maintained.

ApplicationIdentity Constructor

Initializes a new instance of the ApplicationIdentity class.

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

public ApplicationIdentity(
	string applicationIdentityFullName
)

Parameters

applicationIdentityFullName
Type: System.String
The full name of the application.

ExceptionCondition
ArgumentNullException

applicationIdentityFullName is null.

The format of the applicationIdentityFullName parameter is a comma-delimited Unicode string that begins with the name, as follows:

applicationURL#deploymentIdentity\applicationIdentity 

Where deploymentIdentity =

deploymentManifest, Version = Major.Minor.Build.Revision, Culture = CultureInfo, PublicKeyToken=TokenNumber, processorArchitecture=processorArchitecture

And applicationIdentity =

applicationName, Version = Major.Minor.Build.Revision, Culture = CultureInfo, PublicKeyToken=TokenNumber, processorArchitecture=processorArchitecture, type=OsType

The following is an example of the full name for an application named ActivationContext:

http://testserver/ActivationContext/ActivationContext.application
#ActivationContext.application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ae13aad84c1a3490, processorArchitecture=msil
\ActivationContext.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ae13aad84c1a3490, processorArchitecture=msil, type=win32

The default value for processor architecture is "msil", and the default value for type is "win32".

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: