ApplicationTrust
Encapsulates security decisions about an application. This class cannot be inherited.
using System.Collections.Generic;
namespace System.Security.Policy
{
public sealed class ApplicationTrust : EvidenceBase, ISecurityEncodable
{
public ApplicationIdentity ApplicationIdentity { get; set; }
public PolicyStatement DefaultGrantSet { get; set; }
public object ExtraInfo { get; set; }
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public IList<StrongName> FullTrustAssemblies {
get {
return null;
}
}
public bool IsApplicationTrustedToRun { get; set; }
public bool Persist { get; set; }
public ApplicationTrust()
{
}
public ApplicationTrust(ApplicationIdentity identity)
{
}
[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public ApplicationTrust(PermissionSet defaultGrantSet, IEnumerable<StrongName> fullTrustAssemblies)
{
}
public void FromXml(SecurityElement element)
{
}
public SecurityElement ToXml()
{
return null;
}
}
}