Sdílet prostřednictvím


IEExecuteRemote.ExecuteAsAssembly Metoda

Definice

Načte sestavení a zavolá vstupní bod s ohledem na jeho název souboru nebo cestu, důkazy zabezpečení, hodnotu hash a hashovací algoritmus.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

public:
 int ExecuteAsAssembly(System::String ^ file, System::Security::Policy::Evidence ^ evidence, cli::array <System::Byte> ^ hash, System::Configuration::Assemblies::AssemblyHashAlgorithm id);
public int ExecuteAsAssembly (string file, System.Security.Policy.Evidence evidence, byte[] hash, System.Configuration.Assemblies.AssemblyHashAlgorithm id);
member this.ExecuteAsAssembly : string * System.Security.Policy.Evidence * byte[] * System.Configuration.Assemblies.AssemblyHashAlgorithm -> int
Public Function ExecuteAsAssembly (file As String, evidence As Evidence, hash As Byte(), id As AssemblyHashAlgorithm) As Integer

Parametry

file
String

Název nebo cesta k souboru, který obsahuje manifest sestavení.

evidence
Evidence

Důkaz pro načtení sestavení.

hash
Byte[]

Hodnota vypočítaného hashového kódu.

id
AssemblyHashAlgorithm

Hashovací algoritmus, který byl použit k hodnotě hash souborů a k vygenerování silného názvu.

Návraty

Načtení sestavení.

Platí pro