scripts
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Provides the ability to uniquely identify a manifest-activated application. This class cannot be inherited. </summary>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x02000636 RID: 1590
|
||||
[ComVisible(false)]
|
||||
[Serializable]
|
||||
public sealed class ApplicationIdentity : ISerializable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ApplicationIdentity" /> class. </summary>
|
||||
/// <param name="applicationIdentityFullName">The full name of the application.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="applicationIdentityFullName" /> is null.</exception>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data needed to serialize the target object.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> to populate with data.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" />) structure for the serialization.</param>
|
||||
// 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");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the location of the deployment manifest as a URL.</summary>
|
||||
/// <returns>The URL of the deployment manifest.</returns>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x17000B4E RID: 2894
|
||||
// (get) Token: 0x06003B0A RID: 15114 RVA: 0x000C9898 File Offset: 0x000C7A98
|
||||
public string CodeBase
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._codeBase;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the full name of the application.</summary>
|
||||
/// <returns>The full name of the application, also known as the display name.</returns>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
// Token: 0x17000B4F RID: 2895
|
||||
// (get) Token: 0x06003B0B RID: 15115 RVA: 0x000C98A0 File Offset: 0x000C7AA0
|
||||
public string FullName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._fullName;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns the full name of the manifest-activated application.</summary>
|
||||
/// <returns>The full name of the manifest-activated application.</returns>
|
||||
/// <filterpriority>1</filterpriority>
|
||||
/// <PermissionSet>
|
||||
/// <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
|
||||
/// </PermissionSet>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user