RemoveAssemblyFromGac

  • Thread starter Thread starter Rob Morgan
  • Start date Start date
R

Rob Morgan

Below is part of a wrapper I'm using to write a GAC administration tool.
Somehow I need to create Microsofts version of the AssemInfo so I can
populate it and then send it to the method below. Does anyone have an idea
how I can create the AssemInfo?

public static bool RemoveAssemblyFromGac(AssemInfo aInfo)
{
object[] args = new object[]{ aInfo };
BindingFlags bindingFlags = (BindingFlags)314;
return ((bool)(FusionType.InvokeMember("RemoveAssemblyFromGac",
bindingFlags, null, null, args)));
}
 
Back
Top