ApplicationIdentity Class

 

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

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

System::Object
  System::ApplicationIdentity

[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ApplicationIdentity sealed : ISerializable

NameDescription
System_CAPS_pubmethodApplicationIdentity(String^)

Initializes a new instance of the ApplicationIdentity class.

NameDescription
System_CAPS_pubpropertyCodeBase

Gets the location of the deployment manifest as a URL.

System_CAPS_pubpropertyFullName

Gets the full name of the application.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the full name of the manifest-activated application.(Overrides Object::ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable::GetObjectData(SerializationInfo^, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Populates a SerializationInfo object with the data needed to serialize the target object.

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

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

Return to top
Show: