File: System\Deployment\Internal\Isolation\IAppIdAuthority.cs
Project: System.Deployment.dll (System.Deployment)
#region Assembly System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Deployment.dll
#endregion
 
using System.Runtime.InteropServices;
using System.Security;
 
namespace System.Deployment.Internal.Isolation
{
    [Guid("8c87810c-2541-4f75-b2d0-9af515488e23")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    internal interface IAppIdAuthority
    {
        [SecurityCritical]
        bool AreDefinitionsEqual(uint Flags, IDefinitionAppId Definition1, IDefinitionAppId Definition2);
        [SecurityCritical]
        bool AreReferencesEqual(uint Flags, IReferenceAppId Reference1, IReferenceAppId Reference2);
        [SecurityCritical]
        bool AreTextualDefinitionsEqual(uint Flags, string AppIdLeft, string AppIdRight);
        [SecurityCritical]
        bool AreTextualReferencesEqual(uint Flags, string AppIdLeft, string AppIdRight);
        [SecurityCritical]
        IDefinitionAppId CreateDefinition();
        [SecurityCritical]
        IReferenceAppId CreateReference();
        [SecurityCritical]
        string DefinitionToText(uint Flags, IDefinitionAppId DefinitionAppId);
        [SecurityCritical]
        bool DoesDefinitionMatchReference(uint Flags, IDefinitionAppId DefinitionIdentity, IReferenceAppId ReferenceIdentity);
        [SecurityCritical]
        bool DoesTextualDefinitionMatchTextualReference(uint Flags, string Definition, string Reference);
        [SecurityCritical]
        string GenerateDefinitionKey(uint Flags, IDefinitionAppId DefinitionIdentity);
        [SecurityCritical]
        string GenerateReferenceKey(uint Flags, IReferenceAppId ReferenceIdentity);
        [SecurityCritical]
        ulong HashDefinition(uint Flags, IDefinitionAppId DefinitionIdentity);
        [SecurityCritical]
        ulong HashReference(uint Flags, IReferenceAppId ReferenceIdentity);
        [SecurityCritical]
        string ReferenceToText(uint Flags, IReferenceAppId ReferenceAppId);
        [SecurityCritical]
        IDefinitionAppId TextToDefinition(uint Flags, string Identity);
        [SecurityCritical]
        IReferenceAppId TextToReference(uint Flags, string Identity);
    }
}