Remote. Execute AsAssembly Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Public Function ExecuteAsAssembly (file As String, evidence As Evidence, hash As Byte(), id As AssemblyHashAlgorithm) As Integer
The name or path of the file that contains the manifest of the assembly.
Evidence for loading the assembly.
The value of the computed hash code.
The hash algorithm that was used to hash files and to generate the strong name.
The loaded assembly.