IEExecuteRemote.ExecuteAsAssembly(String, Evidence, Byte[], AssemblyHashAlgorithm) IEExecuteRemote.ExecuteAsAssembly(String, Evidence, Byte[], AssemblyHashAlgorithm) IEExecuteRemote.ExecuteAsAssembly(String, Evidence, Byte[], AssemblyHashAlgorithm) Method

Definition

Loads an assembly and calls the entry point, given its file name or path, security evidence, hash value, and hash algorithm.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

file
String String String

The name or path of the file that contains the manifest of the assembly.

evidence
Evidence Evidence Evidence

Evidence for loading the assembly.

hash
Byte[]

The value of the computed hash code.

id
AssemblyHashAlgorithm AssemblyHashAlgorithm AssemblyHashAlgorithm

The hash algorithm that was used to hash files and to generate the strong name.

Returns

The loaded assembly.

Applies to