Manager.GetSecuredClassFactory Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Importante
Esta API não está em conformidade com CLS.
Cria uma fábrica de classes que fornece informações de segurança sobre o assembly.
Esta API não está em conformidade com CLS.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
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
Parâmetros
- flags
- Int32
Um dos seguintes valores CORIESECURITY:
CORIESECURITY_ZONE: 0x01
CORIESECURITY_SITE: 0x02
- zone
- Int32
Um dos seguintes valores URLZONE:
URLZONE_LOCAL_MACHINE: 0x00
URLZONE_INTRANET: 0x01
URLZONE_TRUSTED: 0x02
URLZONE_INTERNET: 0x03
URLZONE_UNTRUSTED: 0x04
- site
- String
O endereço do site.
- uniqueIdString
- String
Uma ID exclusiva para o site.
- fileHashString
- String
O valor de hash codificado hexadecimal do assembly que está sendo carregado.
- assemblyNametypeName
- String
O nome do assembly.
- typeNameassemblyName
- String
O nome do tipo.
Retornos
Um objeto que representa a fábrica de classes segura.
Implementações
- Atributos
Comentários
Normalmente, a maioria dos valores de parâmetro pode ser obtida no Gerenciador de segurança da Internet.