Export (0) Print
Expand All

ApplicationIdentity Class

Provides the ability to uniquely identify a manifest-activated application. This class cannot be inherited.

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

[SerializableAttribute] 
[ComVisibleAttribute(false)] 
public sealed class ApplicationIdentity : ISerializable
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(false) */ 
public final class ApplicationIdentity implements ISerializable
SerializableAttribute 
ComVisibleAttribute(false) 
public final class ApplicationIdentity implements ISerializable
Not applicable.

The ApplicationIdentity class is used in the activation of manifest-based applications.

The following code example demonstrates the use of an ActivationContext object to obtain the ApplicationIdentity for a manifest-based application. This code example is part of a larger example provided for the ActivationContext class.

ActivationContext ac = AppDomain.CurrentDomain.ActivationContext;
ApplicationIdentity ai = ac.Identity;

System.Object
  System.ApplicationIdentity

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

Community Additions

ADD
Show:
© 2014 Microsoft