scripts
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Policy;
|
||||
|
||||
namespace System.Security
|
||||
{
|
||||
/// <summary>Supports the methods that convert permission object state to and from an XML element representation.</summary>
|
||||
// Token: 0x020005C3 RID: 1475
|
||||
[ComVisible(true)]
|
||||
public interface ISecurityPolicyEncodable
|
||||
{
|
||||
/// <summary>Reconstructs a security object with a specified state from an XML encoding.</summary>
|
||||
/// <param name="e">The XML encoding to use to reconstruct the security object. </param>
|
||||
/// <param name="level">The policy-level context to resolve named permission set references. </param>
|
||||
// Token: 0x060035CA RID: 13770
|
||||
void FromXml(SecurityElement e, PolicyLevel level);
|
||||
|
||||
/// <summary>Creates an XML encoding of the security object and its current state.</summary>
|
||||
/// <returns>The root element of the XML representation of the policy object.</returns>
|
||||
/// <param name="level">The policy-level context to resolve named permission set references. </param>
|
||||
// Token: 0x060035CB RID: 13771
|
||||
SecurityElement ToXml(PolicyLevel level);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user