using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// Provides the ability to uniquely identify a manifest-activated application. This class cannot be inherited.
/// 1
// Token: 0x02000636 RID: 1590
[ComVisible(false)]
[Serializable]
public sealed class ApplicationIdentity : ISerializable
{
/// Initializes a new instance of the class.
/// The full name of the application.
///
/// is null.
// Token: 0x06003B08 RID: 15112 RVA: 0x000C9830 File Offset: 0x000C7A30
public ApplicationIdentity(string applicationIdentityFullName)
{
if (applicationIdentityFullName == null)
{
throw new ArgumentNullException("applicationIdentityFullName");
}
if (applicationIdentityFullName.IndexOf(", Culture=") == -1)
{
this._fullName = applicationIdentityFullName + ", Culture=neutral";
}
else
{
this._fullName = applicationIdentityFullName;
}
}
/// Populates a object with the data needed to serialize the target object.
/// The to populate with data.
/// The ) structure for the serialization.
// Token: 0x06003B09 RID: 15113 RVA: 0x000C9884 File Offset: 0x000C7A84
[MonoTODO("Missing serialization")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
if (info == null)
{
throw new ArgumentNullException("info");
}
}
/// Gets the location of the deployment manifest as a URL.
/// The URL of the deployment manifest.
/// 1
// Token: 0x17000B4E RID: 2894
// (get) Token: 0x06003B0A RID: 15114 RVA: 0x000C9898 File Offset: 0x000C7A98
public string CodeBase
{
get
{
return this._codeBase;
}
}
/// Gets the full name of the application.
/// The full name of the application, also known as the display name.
/// 1
// Token: 0x17000B4F RID: 2895
// (get) Token: 0x06003B0B RID: 15115 RVA: 0x000C98A0 File Offset: 0x000C7AA0
public string FullName
{
get
{
return this._fullName;
}
}
/// Returns the full name of the manifest-activated application.
/// The full name of the manifest-activated application.
/// 1
///
///
///
// Token: 0x06003B0C RID: 15116 RVA: 0x000C98A8 File Offset: 0x000C7AA8
public override string ToString()
{
return this._fullName;
}
// Token: 0x0400179F RID: 6047
private string _fullName;
// Token: 0x040017A0 RID: 6048
private string _codeBase;
}
}