Manager.GetSecuredClassFactory Method

Definition

Important

This API is not CLS-compliant.

Creates a class factory that provides security information about the assembly.

This API is not CLS-compliant.

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

public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int flags, int zone, System::String ^ site, System::String ^ uniqueIdString, System::String ^ fileHashString, System::String ^ assemblyName, System::String ^ typeName);
public:
 virtual Microsoft::IE::ISecureFactory ^ GetSecuredClassFactory(int flags, int zone, System::String ^ site, System::String ^ uniqueIdString, System::String ^ fileHashString, System::String ^ typeName, System::String ^ assemblyName);
public virtual Microsoft.IE.ISecureFactory GetSecuredClassFactory (int flags, int zone, string site, string uniqueIdString, string fileHashString, string assemblyName, string typeName);
[System.CLSCompliant(false)]
public virtual Microsoft.IE.ISecureFactory GetSecuredClassFactory (int flags, int zone, string site, string uniqueIdString, string fileHashString, string typeName, string assemblyName);
abstract member GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
override this.GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
[<System.CLSCompliant(false)>]
abstract member GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
override this.GetSecuredClassFactory : int * int * string * string * string * string * string -> Microsoft.IE.ISecureFactory
Public Overridable Function GetSecuredClassFactory (flags As Integer, zone As Integer, site As String, uniqueIdString As String, fileHashString As String, assemblyName As String, typeName As String) As ISecureFactory
Public Overridable Function GetSecuredClassFactory (flags As Integer, zone As Integer, site As String, uniqueIdString As String, fileHashString As String, typeName As String, assemblyName As String) As ISecureFactory

Parameters

flags
Int32

One of the following CORIESECURITY values:

  • CORIESECURITY_ZONE: 0x01

  • CORIESECURITY_SITE: 0x02

zone
Int32

One of the following URLZONE values:

  • URLZONE_LOCAL_MACHINE: 0x00

  • URLZONE_INTRANET: 0x01

  • URLZONE_TRUSTED: 0x02

  • URLZONE_INTERNET: 0x03

  • URLZONE_UNTRUSTED: 0x04

site
String

The site address.

uniqueIdString
String

A unique ID for the site.

fileHashString
String

The hexadecimal encoded hash value of the assembly that is being loaded.

assemblyNametypeName
String

The name of the assembly.

typeNameassemblyName
String

The name of the type.

Returns

An object that represents the secure class factory.

Implements

Attributes

Remarks

Typically, most of the parameter values can be obtained from the Internet Security Manager.

Applies to