ApplicationIdentity ApplicationIdentity ApplicationIdentity ApplicationIdentity Class

Definition

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

public ref class ApplicationIdentity sealed : System::Runtime::Serialization::ISerializable
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class ApplicationIdentity : System.Runtime.Serialization.ISerializable
type ApplicationIdentity = class
    interface ISerializable
Public NotInheritable Class ApplicationIdentity
Implements ISerializable
Inheritance
ApplicationIdentityApplicationIdentityApplicationIdentityApplicationIdentity
Attributes
Implements

Examples

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;
Dim ac As ActivationContext = AppDomain.CurrentDomain.ActivationContext
Dim ai As ApplicationIdentity = ac.Identity

Remarks

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

Constructors

ApplicationIdentity(String) ApplicationIdentity(String) ApplicationIdentity(String) ApplicationIdentity(String)

Initializes a new instance of the ApplicationIdentity class.

Properties

CodeBase CodeBase CodeBase CodeBase

Gets the location of the deployment manifest as a URL.

FullName FullName FullName FullName

Gets the full name of the application.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the full name of the manifest-activated application.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo object with the data needed to serialize the target object.

Applies to