13 private IDefinitionAppId _appId;
19 [SecuritySafeCritical]
22 return IsolationInterop.AppIdAuthority.DefinitionToText(0u, _appId);
30 [SecuritySafeCritical]
33 return _appId.get_Codebase();
37 internal IDefinitionAppId Identity
46 private ApplicationIdentity()
53 string text = (string)info.GetValue(
"FullName", typeof(
string));
56 throw new ArgumentNullException(
"fullName");
58 _appId = IsolationInterop.AppIdAuthority.TextToDefinition(0u, text);
65 [SecuritySafeCritical]
68 if (applicationIdentityFullName ==
null)
72 _appId = IsolationInterop.AppIdAuthority.TextToDefinition(0u, applicationIdentityFullName);
78 _appId = applicationIdentity;
94 info.AddValue(
"FullName",
FullName, typeof(
string));
ApplicationIdentity(string applicationIdentityFullName)
Initializes a new instance of the T:System.ApplicationIdentity class.
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
string CodeBase
Gets the location of the deployment manifest as a URL.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
override string ToString()
Returns the full name of the manifest-activated application.
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Allows an object to control its own serialization and deserialization.
Provides the ability to uniquely identify a manifest-activated application. This class cannot be inhe...
Specifies that the class can be serialized.
string FullName
Gets the full name of the application.
void GetObjectData(SerializationInfo info, StreamingContext context)
Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the ta...