要导入System.DirectoryServices程序集,需要以下命令
create asymmetric key asmKey_DirectoryServices from executable file = 'c:\Windows\Microsoft.NET\Framework\v2.0.5072 \System.DirectoryServices.dll' create login asmLogin_DirectoryServices from asymmetric key asmKey_DirectoryServices grant unsafe assembly to asmLogin_DirectoryServices
这将创build一个新的login。 如果我需要导入几个程序集,有没有办法只使用一个具有多个非对称密钥的login?