0

OpenSTVを使用して投票を行う ASP.NET MVC サイトを構築しています。結果を OpenSTV で実行するには、実行可能ファイルを実行する必要があります。それは中程度の信頼のASP.NET アプリケーションから許可されていますか?

4

1 に答える 1

2

System.Diagnostics.Processで実行していない限り、オブジェクトをインスタンス化することはできませんFullTrust

クラスを飾る属性を調べると、次の需要がわかりますFullTrust

プロセスクラス(MSDN)

[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[HostProtectionAttribute(SecurityAction.LinkDemand, 
        SharedState = true, Synchronization = true, 
    ExternalProcessMgmt = true, SelfAffectingProcessMgmt = true)]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public class Process : Component
于 2010-10-07T08:22:41.023 に答える